@stryker-mutator/vitest-runner
Version:
A plugin to use the vitest test runner and framework in Stryker, the JavaScript mutation testing framework
17 lines • 631 B
TypeScript
import type { MutantCoverage } from '@stryker-mutator/api/core';
import type { MutantActivation } from '@stryker-mutator/api/test-runner';
declare module 'vitest' {
interface ProvidedContext {
globalNamespace: '__stryker__' | '__stryker2__';
hitLimit: number | undefined;
mutantActivation: MutantActivation;
activeMutant: string | undefined;
mode: 'mutant' | 'dry-run';
isGreaterThanVitest4Point1: boolean;
}
interface TaskMeta {
hitCount: number | undefined;
mutantCoverage: MutantCoverage | undefined;
}
}
//# sourceMappingURL=stryker-setup.d.ts.map