Ignore .module-cache from jest [skip ci]
I hit a case where running jest was including files from the module cache. I don't think that should have happened, but this works.
Paul O’Shannessy committed
Sep 11, 2014 at 15:26 UTC
584e6bd6487b6b85bc6f2990f4164898c1fb4457
1 file changed
+1
-1
package.json
+1
-1
@@ -82,7 +82,7 @@
82
"rootDir": "",
83
"scriptPreprocessor": "jest/preprocessor.js",
84
"setupEnvScriptFile": "jest/environment.js",
85
- "modulePathIgnorePatterns": ["/build/", "/node_modules/"],
85
+ "modulePathIgnorePatterns": ["/build/", "/node_modules/", "/.module-cache/"],
86
"testPathIgnorePatterns": ["/build/", "/node_modules/"],
87
"unmockedModulePathPatterns": [""]
88
}