Skip to content

Commit

Permalink
fix(browser): disable fileParallelism by default on browser pool (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-ogawa authored Apr 12, 2024
1 parent 318ae17 commit 5c69f3f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/vitest/src/node/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@ export function resolveConfig(
if (resolved.minWorkers)
resolved.minWorkers = Number(resolved.minWorkers)

resolved.browser ??= {} as any
resolved.browser.fileParallelism ??= resolved.fileParallelism ?? false

// run benchmark sequentially by default
resolved.fileParallelism ??= mode !== 'benchmark'

Expand Down

0 comments on commit 5c69f3f

Please sign in to comment.