You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Collect coverage only for files changed since a specified commit or branch. When set to `true`, it uses staged and unstaged changes.
461
+
462
+
## coverage.trackProcessAndWorker
463
+
464
+
-**Type:**`boolean`
465
+
-**Default:**`false`
466
+
-**Available for providers:**`'v8'`
467
+
-**CLI:**`--coverage.trackProcessAndWorker`
468
+
469
+
Track coverage of the `node:child_process` and `node:worker_threads` spawned during test run.
470
+
471
+
Note that this option has some performance overhead as its using [`NODE_V8_COVERAGE`](https://nodejs.org/api/cli.html#node-v8-coveragedir) internally. This triggers Node to write lots of unnecessary files on file system.
description: 'Directory of HTML coverage output to be served in UI mode and HTML reporter.',
327
327
argument: '<path>',
328
328
},
329
+
trackProcessAndWorker: {
330
+
description: 'Track coverage of the `node:child_process` and `node:worker_threads` spawned during test run. Supported only by `v8` provider. (default: false)',
0 commit comments