@stryker-mutator/core
Version:
The extendable JavaScript mutation testing framework
16 lines • 755 B
TypeScript
import { TestResult } from '@stryker-mutator/api/test-runner';
import { I } from '@stryker-mutator/util';
import { TestCoverage } from '../../src/mutants/index.js';
export declare class TestCoverageTestDouble implements I<TestCoverage> {
testsByMutantId: Map<string, Set<TestResult>>;
testsById: Map<string, TestResult>;
hitsByMutantId: Map<string, number>;
staticCoverage: Record<string, boolean>;
hasStaticCoverage(mutantId: string): boolean;
hasCoverage: boolean;
addTest(...testResults: TestResult[]): void;
addCoverage(mutantId: number | string, testIds: string[]): void;
forMutant(mutantId: string): ReadonlySet<TestResult> | undefined;
clear(): void;
}
//# sourceMappingURL=test-coverage-test-double.d.ts.map