偏右
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
.jest.js
|
|
@ -31,7 +31,7 @@ module.exports = { |
|
|
|
'\\.js$': './node_modules/antd-tools/lib/jest/codePreprocessor', |
|
|
|
'\\.md$': './node_modules/antd-tools/lib/jest/demoPreprocessor', |
|
|
|
}, |
|
|
|
testRegex: libDir === 'dist' ? 'demo\\.test\\.js$' : '.*\\.test\\.js$', |
|
|
|
testRegex: `${libDir === 'dist' ? 'demo' : '.*'}\\.test\\.js$`, |
|
|
|
collectCoverageFrom: [ |
|
|
|
'components/**/*.{ts,tsx}', |
|
|
|
'!components/*/style/index.tsx', |
|
|
|