fix jest to transform all tested files (#41)

This commit is contained in:
Lynn 2017-03-24 15:52:27 -07:00 committed by GitHub
parent 3f8757dc90
commit e9422de1c2

View File

@ -15,9 +15,13 @@
"unpacked-win-x86": "npm run prebuild && build --win --ia32 --dir",
"prebuild": "npm run lint && npm run test && npm run browserify-preload",
"lint": "eslint --ext .js js/",
"test": "jest --coverage --testPathPattern tests",
"test": "jest --testPathPattern test",
"browserify-preload": "browserify -o js/preload/_preloadMain.js -x electron js/preload/preloadMain.js && browserify -o js/preload/_preloadChild.js -x electron js/preload/preloadChild.js"
},
"jest": {
"collectCoverage": true,
"transformIgnorePatterns": []
},
"build": {
"files": [
"!coverage/*",