|
1 | 1 | module.exports = {
|
| 2 | + // The bail config option can be used here to have Jest stop running tests after |
| 3 | + // the first failure. |
| 4 | + bail: false, |
| 5 | + |
| 6 | + // Indicates whether each individual test should be reported during the run. |
2 | 7 | verbose: false,
|
| 8 | + |
| 9 | + // Indicates whether the coverage information should be collected while executing the test |
3 | 10 | collectCoverage: false,
|
| 11 | + |
| 12 | + // The directory where Jest should output its coverage files. |
4 | 13 | coverageDirectory: './coverage/',
|
| 14 | + |
| 15 | + // If the test path matches any of the patterns, it will be skipped. |
| 16 | + testPathIgnorePatterns: ['<rootDir>/node_modules/'], |
| 17 | + |
| 18 | + // If the file path matches any of the patterns, coverage information will be skipped. |
| 19 | + coveragePathIgnorePatterns: ['<rootDir>/node_modules/'], |
| 20 | + |
| 21 | + // The pattern Jest uses to detect test files. |
| 22 | + testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.jsx?$', |
5 | 23 | };
|
0 commit comments