Skip to content

Commit

Permalink
fix jest config wordpress
Browse files Browse the repository at this point in the history
  • Loading branch information
wardpeet committed Feb 16, 2022
1 parent a71064b commit ea511db
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions integration-tests/gatsby-source-wordpress/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
module.exports = {
testPathIgnorePatterns: [`/node_modules/`, `__tests__/fixtures`, `.cache`],
bail: true,
moduleNameMapper: {
"^gatsby-core-utils/(.*)$": `gatsby-core-utils/dist/$1`, // Workaround for https://github.com/facebook/jest/issues/9771
},
}

0 comments on commit ea511db

Please sign in to comment.