Skip to content

Commit

Permalink
Add proper configuration for Jest tests
Browse files Browse the repository at this point in the history
  • Loading branch information
panwrona committed Sep 13, 2019
1 parent 4092593 commit 5bbb7d1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,8 @@ module.exports = {
},
testEnvironment: "node",
testMatch: ["**/__tests__/*.js"],
testPathIgnorePatterns: ["/node_modules/", ".eslintrc.js"]
testPathIgnorePatterns: ["/node_modules/", ".eslintrc.js"],
transformIgnorePatterns: [
"/node_modules/(?!magic-script-components).+(js|jsx)$"
]
};

0 comments on commit 5bbb7d1

Please sign in to comment.