Skip to content

Commit

Permalink
[Toolchain] Point jest cache at .jest/cache
Browse files Browse the repository at this point in the history
  • Loading branch information
damassi committed May 27, 2020
1 parent f6f6b94 commit 87644e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const sharedConfig = {
".(ts|tsx|js|jsx)": "babel-jest",
"\\.graphql$": "jest-raw-loader",
},
cacheDirectory: ".cache/jest",
coverageDirectory: "./coverage/",
collectCoverage: true,
coverageReporters: ["lcov", "text-summary"],
Expand All @@ -18,7 +19,7 @@ module.exports = {
*/
{
...sharedConfig,
modulePathIgnorePatterns: ["v2"],
modulePathIgnorePatterns: ["v2", "data"],
testRegex: ".*\\.jest\\.(ts|tsx|js|jsx)$",
setupFiles: ["<rootDir>/test.config.js"],
roots: ["<rootDir>/src"],
Expand Down

0 comments on commit 87644e5

Please sign in to comment.