coverage
constcoverage:object
Defined in: coverage.ts:4
Default Vitest coverage options: the V8 provider with text and lcov reports.
Type Declaration
Section titled “Type Declaration”all:
boolean=false
Off, so only files loaded by tests are counted in coverage.
exclude
Section titled “exclude”exclude:
string[]
Paths excluded from coverage, starting from Vitest’s own defaults.
provider
Section titled “provider”provider:
"v8"
The coverage provider: V8’s built-in coverage.
reporter
Section titled “reporter”reporter:
string[]
The report formats: a terminal text table and an lcov file.