@stryker-mutator/jest-runner
Version:
A plugin to use the jest test runner and framework in Stryker, the JavaScript mutation testing framework
17 lines • 707 B
TypeScript
import type { Config } from '@jest/types';
import { JestRunResult } from '../jest-run-result.js';
import { JestWrapper } from '../utils/jest-wrapper.js';
export interface RunSettings {
jestConfig: Config.InitialOptions;
testNamePattern?: string;
fileNamesUnderTest?: string[];
testFiles?: string[];
testLocationInResults?: boolean;
}
export declare class JestTestAdapter {
private readonly jestWrapper;
static readonly inject: readonly ["jestWrapper"];
constructor(jestWrapper: JestWrapper);
run({ jestConfig, fileNamesUnderTest, testFiles, testNamePattern, testLocationInResults, }: RunSettings): Promise<JestRunResult>;
}
//# sourceMappingURL=jest-test-adapter.d.ts.map