Skip to content

Commit

Permalink
Ignore .module-cache from jest [skip ci]
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
zpao committed Sep 11, 2014
1 parent a10436d commit 584e6bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"rootDir": "",
"scriptPreprocessor": "jest/preprocessor.js",
"setupEnvScriptFile": "jest/environment.js",
"modulePathIgnorePatterns": ["/build/", "/node_modules/"],
"modulePathIgnorePatterns": ["/build/", "/node_modules/", "/.module-cache/"],
"testPathIgnorePatterns": ["/build/", "/node_modules/"],
"unmockedModulePathPatterns": [""]
}
Expand Down

0 comments on commit 584e6bd

Please sign in to comment.