Skip to content

testCoverage

Runs the test suite with coverage, with the project’s runner.

Import:

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

Signature:

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

Parameters:

Parameter Type Description
options TestCoverageOptions The TestCoverageOptions.

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