Skip to content

Commit f59a052

Browse files
committed
fix(svelte5): ensure proper act used in cleanup
1 parent d4e60f7 commit f59a052

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/svelte5-index.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/* eslint-disable import/export */
2-
import { act, cleanup } from './svelte5.js'
2+
import { act } from './pure.js'
3+
import { cleanup } from './svelte5.js'
34

45
// If we're running in a test runner that supports afterEach
56
// then we'll automatically run cleanup afterEach test

0 commit comments

Comments
 (0)