Skip to content

Commit

Permalink
Updated Jest config
Browse files Browse the repository at this point in the history
  • Loading branch information
patricklafrance committed Nov 15, 2018
1 parent 0a54926 commit a358517
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ package-lock.json
.editorconfig
README.md
recipes
jest.config.js
5 changes: 5 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
roots: [
"<rootDir>/packages/craco/tests/"
]
};
6 changes: 0 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,5 @@
"dependencies": {
"lodash.mergewith": "4.6.1",
"webpack-merge": "4.1.4"
},
"jest": {
"testPathIgnorePatterns": [
"/node_modules/",
"packages/craco/scripts/test.js"
]
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const { throwUnexpectedConfigError } = require("./plugin-utils");
const { throwUnexpectedConfigError } = require("../lib/plugin-utils");

test("throwUnexpectedConfigError with all the options", () => {
function throwError() {
Expand Down

0 comments on commit a358517

Please sign in to comment.