diff --git a/docs/guide/cli-generated.md b/docs/guide/cli-generated.md index 59ad0d904a9b..350a178d8bf4 100644 --- a/docs/guide/cli-generated.md +++ b/docs/guide/cli-generated.md @@ -395,7 +395,7 @@ Should browser test files run in parallel. Use `--browser.fileParallelism=false` - **CLI:** `--pool ` - **Config:** [pool](/config/#pool) -Specify pool, if not running in the browser (default: `threads`) +Specify pool, if not running in the browser (default: `forks`) ### poolOptions.threads.isolate diff --git a/packages/vitest/src/node/cli/cli-config.ts b/packages/vitest/src/node/cli/cli-config.ts index ac67b8ba7bf4..8aa7118b6206 100644 --- a/packages/vitest/src/node/cli/cli-config.ts +++ b/packages/vitest/src/node/cli/cli-config.ts @@ -420,7 +420,7 @@ export const cliOptionsConfig: VitestCLIOptions = { }, pool: { description: - 'Specify pool, if not running in the browser (default: `threads`)', + 'Specify pool, if not running in the browser (default: `forks`)', argument: '', subcommands: null, // don't support custom objects },