Using collectCoverageFrom instead of coveragePathIgnorePatterns

This commit is contained in:
Wei Zhu 2016-12-05 17:57:49 +08:00
parent 1a37b44dad
commit 9701825c23

View File

@ -197,11 +197,8 @@
"\\.md$": "node_modules/antd-demo-jest"
},
"testRegex": "/tests/.*\\.test\\.js$",
"coveragePathIgnorePatterns": [
"/node_modules/",
"components/.*/demo",
"/dist/",
"/tests/"
"collectCoverageFrom": [
"components/**/*.{ts,tsx}"
]
},
"pre-commit": [