Skip to content

Commit

Permalink
test: configure vitest poolOptions.forks
Browse files Browse the repository at this point in the history
  • Loading branch information
BobbieGoede committed Sep 15, 2024
1 parent 85550bd commit df79f54
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ export default defineConfig({
setupFiles: ['./specs/utils/setup-env.ts'],
exclude: [...configDefaults.exclude],
poolOptions: {
threads: {
maxThreads: process.env.CI ? undefined : 4,
minThreads: process.env.CI ? undefined : 4
forks: {
maxForks: process.env.CI ? undefined : 4,
minForks: process.env.CI ? undefined : 4
}
}
},
Expand Down

0 comments on commit df79f54

Please sign in to comment.