Skip to content

Commit

Permalink
Use forks for Vitest
Browse files Browse the repository at this point in the history
  • Loading branch information
franknoirot committed Mar 13, 2024
1 parent d6f1d2f commit d9e8d93
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ const config = defineConfig({
},
test: {
globals: true,
pool: 'forks',
poolOptions: {
forks: {
maxForks: 2,
minForks: 1,
}
},
setupFiles: 'src/setupTests.ts',
environment: 'happy-dom',
coverage: {
Expand Down

0 comments on commit d9e8d93

Please sign in to comment.