Skip to content

Commit

Permalink
chore(gatsby): when testing, exclude folders in root directory fix #1…
Browse files Browse the repository at this point in the history
  • Loading branch information
matthieuauger authored and DSchau committed Jun 22, 2019
1 parent 90e96cc commit 70cfec0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ module.exports = {
modulePathIgnorePatterns: ignoreDirs,
coveragePathIgnorePatterns: ignoreDirs,
testPathIgnorePatterns: [
`/examples/`,
`/www/`,
`/dist/`,
`/node_modules/`,
`<rootDir>/examples/`,
`<rootDir>/www/`,
`<rootDir>/dist/`,
`<rootDir>/node_modules/`,
`__tests__/fixtures`,
],
transform: { "^.+\\.js$": `<rootDir>/jest-transformer.js` },
Expand Down

0 comments on commit 70cfec0

Please sign in to comment.