UNPKG

1.48 kBTypeScriptView Raw
1/**
2 * This file was automatically generated by generate-json-schema-to-ts.js.
3 * DO NOT MODIFY IT BY HAND. Instead, modify the source file JSON file: jest-runner-options.json,
4 * and run 'npm run generate' from monorepo base directory.
5 */
6/**
7 * The type of project you are working on.
8 * * `custom` uses the `config` option.
9 * *`create-react-app` when you are using [create-react-app](https://github.com/facebook/create-react-app)
10 * * `react`: DEPRECATED, please use `create-react-app`.
11 */
12export type JestProjectType = 'create-react-app' | 'custom';
13export interface JestRunnerOptions {
14 jest: JestOptions;
15 [k: string]: unknown;
16}
17/**
18 * Configuration for @stryker-mutator/jest-runner
19 */
20export interface JestOptions {
21 projectType: JestProjectType;
22 /**
23 * Path to your Jest config file. Please leave it empty if you want jest configuration to be loaded from package.json or a standard jest configuration file.
24 */
25 configFile?: string;
26 /**
27 * A custom Jest configuration object. You could also use `require` to load it here.
28 */
29 config?: {
30 [k: string]: unknown;
31 };
32 /**
33 * Whether to run jest with the `--findRelatedTests` flag. When `true`, Jest will only run tests related to the mutated file per test. (See [_--findRelatedTests_](https://jestjs.io/docs/en/cli.html#findrelatedtests-spaceseparatedlistofsourcefiles)
34 */
35 enableFindRelatedTests: boolean;
36}
37//# sourceMappingURL=jest-runner-options.d.ts.map
\No newline at end of file