Skip to content

Commit

Permalink
test: disable isolation (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
AriPerkkio committed Apr 21, 2024
1 parent cbd3114 commit c444320
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions vitest.config.ts
Expand Up @@ -9,11 +9,8 @@ export default defineConfig({
},
test: {
globals: true,
isolate: false,

poolOptions: {
threads: { singleThread: true },
forks: { singleFork: true },
},
// simple.test.ts expects to be run in main thread
poolMatchGlobs: [['**/simple.test.ts', 'forks']],
},
Expand Down

0 comments on commit c444320

Please sign in to comment.