Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When the teardown runs (when threads are disabled), it breaks JSDOM It turns out that the teardown function is never called when running with threads enabled, so this issue went unnoticed for most developers. Fixes vitest-dev#835 The PR can be tested by running: ``` cd examples/vue pnpm run test -- --no-threads ``` This fails on `main` but no longer fails with this commit.
- Loading branch information