change jest config

This commit is contained in:
afc163 2016-11-13 16:03:59 +08:00
parent 449db1499b
commit ee8ac670b9

View File

@ -162,7 +162,9 @@
"testPathIgnorePatterns": [
"/node_modules/"
],
"scriptPreprocessor": "node_modules/typescript-babel-jest",
"transform": {
".*": "node_modules/typescript-babel-jest"
},
"testRegex": "(/tests/.*|\\.(test|spec))\\.(js)$"
},
"pre-commit": [