Back to Vitest

fileParallelism | Config

docs/config/fileparallelism.md

4.1.5470 B
Original Source

fileParallelism

  • Type: boolean
  • Default: true
  • CLI: --no-file-parallelism, --fileParallelism=false

Should all test files run in parallel. Setting this to false will override maxWorkers option to 1.

::: tip This option doesn't affect tests running in the same file. If you want to run those in parallel, use concurrent option on describe or via a config. :::