TestCoverageOptions
Options for running tests with coverage.
Import:
import type { TestCoverageOptions } from '@mnaoumov/typescript-dev-toolkit/test-runners/auto';Signature:
export interface TestCoverageOptions extends TestOptionsExtends: TestOptions
Properties
| Property | Type | Description |
|---|---|---|
| esm? | boolean | Whether jest runs the suite as ES modules. Vitest ignores it. (Inherited from TestOptions) |
| minCoverageInPercents? | number | Minimum coverage percentage required, for lines, functions, branches and statements alike. |
| projects? | string[] | The projects to run. Vitest also runs each one's name:* sub-projects; jest matches a displayName exactly.(Inherited from TestOptions) |
| runner? | TestRunner | The runner to use. Omitted, detectTestRunner chooses it. (Inherited from TestOptions) |
Links to this page: