@stryker-mutator/jest-runner
Version:
A plugin to use the jest test runner and framework in Stryker, the JavaScript mutation testing framework
15 lines (11 loc) • 358 B
text/typescript
import type { Config } from '@jest/types';
import { JestRunResult } from '../jest-run-result.js';
export interface RunSettings {
jestConfig: Config.InitialOptions;
testNamePattern?: string;
fileNamesUnderTest?: string[];
testLocationInResults?: boolean;
}
export interface JestTestAdapter {
run(settings: RunSettings): Promise<JestRunResult>;
}