Vitest · Pipe
test.coverage
Vitest can collect coverage with V8 or Istanbul, with V8 used by default. Enable it with the CLI or config, then choose included files, excluded files, reporters, and thresholds.
Last updated
- Since
- 3.2.0
Syntax
test.coverage.provider = 'v8' | 'istanbul' | 'custom'In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
coverage.enabledcoverage.providercoverage.includecoverage.excludecoverage.reportercoverage.thresholdscoverage.reportsDirectorycoverage.customProviderModule