Skip to content

Commit

Permalink
chore(test): Add workaround for bad Jest caching behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
evocateur committed Feb 4, 2019
1 parent abe3afe commit fa2b6d7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jest.config.js
@@ -1,6 +1,8 @@
"use strict";

module.exports = {
// workaround https://github.com/facebook/jest/pull/5862
name: "lerna-unit",
clearMocks: true,
// windows ci is terribly slow, so let's not burden it with coverage
collectCoverage: process.env.CI && process.env.TRAVIS_OS_NAME !== "windows",
Expand Down
2 changes: 2 additions & 0 deletions jest.integration.js
@@ -1,6 +1,8 @@
"use strict";

module.exports = {
// workaround https://github.com/facebook/jest/pull/5862
name: "lerna-integration",
bail: true,
modulePathIgnorePatterns: ["/__fixtures__/"],
roots: ["<rootDir>/integration"],
Expand Down

0 comments on commit fa2b6d7

Please sign in to comment.