@@ -24,9 +24,7 @@ module.exports = {
24
24
coverageDirectory : "coverage" ,
25
25
26
26
// An array of regexp pattern strings used to skip coverage collection
27
- // coveragePathIgnorePatterns: [
28
- // "\\\\node_modules\\\\"
29
- // ],
27
+ coveragePathIgnorePatterns : [ '<rootDir>/node_modules/' ] ,
30
28
31
29
// Indicates which provider should be used to instrument code for coverage
32
30
// coverageProvider: "babel",
@@ -64,9 +62,7 @@ module.exports = {
64
62
// maxWorkers: "50%",
65
63
66
64
// An array of directory names to be searched recursively up from the requiring module's location
67
- moduleDirectories : [
68
- "node_modules"
69
- ] ,
65
+ moduleDirectories : [ "node_modules" ] ,
70
66
71
67
// An array of file extensions your modules use
72
68
// moduleFileExtensions: [
@@ -150,12 +146,10 @@ module.exports = {
150
146
// ],
151
147
152
148
// An array of regexp pattern strings that are matched against all test paths, matched tests are skipped
153
- // testPathIgnorePatterns: [
154
- // "\\\\node_modules\\\\"
155
- // ],
149
+ testPathIgnorePatterns : [ '<rootDir>/node_modules/' ] ,
156
150
157
151
// The regexp pattern or array of patterns that Jest uses to detect test files
158
- // testRegex: [] ,
152
+ testRegex : '(/__tests__/.*|(\\.|/)(test|spec))\\.jsx?$' ,
159
153
160
154
// This option allows the use of a custom results processor
161
155
// testResultsProcessor: undefined,
0 commit comments