Skip to content

testCoverage

Runs the test suite with coverage.

Import:

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

Signature:

function testCoverage(options: TestCoverageOptions): Promise<void>

Parameters:

Parameter Type Description
options TestCoverageOptions Optional coverage configuration.

Returns: Promise<void> — A Promise that resolves when the tests have completed.