Skip to content

Commit

Permalink
fix(svelte5): ensure proper act used in cleanup (#346)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcous authored Apr 18, 2024
1 parent e951b9a commit 3eaa04e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/svelte5-index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* eslint-disable import/export */
import { act, cleanup } from './svelte5.js'
import { act } from './pure.js'
import { cleanup } from './svelte5.js'

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

0 comments on commit 3eaa04e

Please sign in to comment.