mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 02:59:04 +08:00
Using collectCoverageFrom instead of coveragePathIgnorePatterns
This commit is contained in:
parent
1a37b44dad
commit
9701825c23
@ -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": [
|
||||
|
Loading…
Reference in New Issue
Block a user