UNPKG

873 BPlain TextView Raw
1import type { Config } from '@jest/types';
2
3export const JEST_OVERRIDE_OPTIONS: Readonly<Config.InitialOptions> = Object.freeze({
4 // Prevent the user from using his or her own testResultProcessor because this might
5 // Mess with the way Stryker gets the results
6 testResultsProcessor: undefined,
7
8 // Disable code coverage, it is not used in Stryker and will only slow down the test runs
9 collectCoverage: false,
10
11 // Disable verbose logging, this will only slow down Stryker test runs
12 verbose: false,
13
14 // Disable notifications for test results, this will otherwise show a notification about
15 // the results each time Stryker runs the tests
16 notify: false,
17
18 // Bail isn't supported programmatically in jest
19 // see https://github.com/facebook/jest/issues/11766
20 bail: false,
21
22 /**
23 * Disable reporters, they only way us down.
24 */
25 reporters: [],
26});