mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
17 lines
502 B
Markdown
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).
|
|
:::
|