diff --git a/docs/config/index.md b/docs/config/index.md index eeb7bf9e5d88..e756e27f6150 100644 --- a/docs/config/index.md +++ b/docs/config/index.md @@ -1326,7 +1326,7 @@ Watermarks for statements, lines, branches and functions. See [istanbul document #### coverage.processingConcurrency - **Type:** `boolean` -- **Default:** `Math.min(20, os.cpu().length)` +- **Default:** `Math.min(20, os.cpus().length)` - **Available for providers:** `'v8' | 'istanbul'` - **CLI:** `--coverage.processingConcurrency=` diff --git a/packages/vitest/src/types/coverage.ts b/packages/vitest/src/types/coverage.ts index 9b88026200fe..9590a61442af 100644 --- a/packages/vitest/src/types/coverage.ts +++ b/packages/vitest/src/types/coverage.ts @@ -208,7 +208,7 @@ export interface BaseCoverageOptions { /** * Concurrency limit used when processing the coverage results. - * Defaults to `Math.min(20, os.cpu().length)` + * Defaults to `Math.min(20, os.cpus().length)` */ processingConcurrency?: number }