Skip to content

Commit e75640c

Browse files
Maxime TylerRemon Oldenbeuving
Maxime Tyler
authored and
Remon Oldenbeuving
committed
switch jest preprocessor to babel-jest
1 parent ba1d57b commit e75640c

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

jestPreprocessor.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
},
2323
"devDependencies": {
2424
"babel-core": "^4.7.3",
25+
"babel-jest": "^4.0.0",
2526
"babel-loader": "^4.1.0",
2627
"grunt": "0.4.5",
2728
"grunt-cli": "0.1.13",
@@ -49,7 +50,7 @@
4950
},
5051
"jest": {
5152
"testDirectoryName": "test",
52-
"scriptPreprocessor": "<rootDir>/jestPreprocessor.js",
53+
"scriptPreprocessor": "<rootDir>/node_modules/babel-jest",
5354
"unmockedModulePathPatterns": [
5455
"<rootDir>/node_modules/react"
5556
]

0 commit comments

Comments
 (0)