We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06e3faf commit 83ced42Copy full SHA for 83ced42
src/__tests__/auto-cleanup.test.js
@@ -5,9 +5,6 @@ import { IS_SVELTE_5 } from './utils.js'
5
const importSvelteTestingLibrary = async () =>
6
IS_SVELTE_5 ? import('../svelte5-index.js') : import('../index.js')
7
8
-const importSvelteTestingLibraryPure = async () =>
9
- IS_SVELTE_5 ? import('../svelte5.js') : import('../pure.js')
10
-
11
const globalAfterEach = vi.fn()
12
13
describe('auto-cleanup', () => {
@@ -42,10 +39,4 @@ describe('auto-cleanup', () => {
42
39
43
40
expect(globalAfterEach).toHaveBeenCalledTimes(0)
44
41
})
45
46
- test('does not call afterEach if you import from `pure`', async () => {
47
- await importSvelteTestingLibraryPure()
48
49
- expect(globalAfterEach).toHaveBeenCalledTimes(0)
50
- })
51
0 commit comments