running jest tests using babel-jest preprocess
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
"testFileExtensions": [
|
||||
"jest.js"
|
||||
],
|
||||
"scriptPreprocessor": "<rootDir>/tests/preprocesser.js",
|
||||
"scriptPreprocessor": "<rootDir>/node_modules/babel-jest",
|
||||
"testDirectoryName": "tests",
|
||||
"unmockedModulePathPatterns": [
|
||||
"<rootDir>/node_modules/react"
|
||||
@@ -22,6 +22,7 @@
|
||||
},
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"babel-jest": "^5.3.0",
|
||||
"bower": "^1.4.1",
|
||||
"chai": "^3.0.0",
|
||||
"del": "^1.2.0",
|
||||
|
||||
Reference in New Issue
Block a user