Skip to content

LIBRARY_VITEST_COVERAGE

The coverage options of a library package: v8 over its own src/, without the generated barrels, the declarations, the tests and the test helpers. The threshold is the test:coverage script’s to set.

Import:

import { LIBRARY_VITEST_COVERAGE } from '@mnaoumov/typescript-dev-toolkit/test-runners/vitest-config';

Signature:

const LIBRARY_VITEST_COVERAGE: { exclude: string[]; include: string[]; provider: "v8"; reporter: string[]; reportsDirectory: string; }

Type: { exclude: string[]; include: string[]; provider: “v8”; reporter: string[]; reportsDirectory: string; }