vitest/docs/config/fileparallelism.md
2025-11-06 14:59:05 +01:00

17 lines
502 B
Markdown

---
title: fileParallelism | Config
outline: deep
---
# 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](/api/#describe-concurrent) or via [a config](#sequence-concurrent).
:::