Browse Source

test: add ignore file

pull/22/head
tangjinzhou 7 years ago
parent
commit
cbfa43e897
  1. 10
      .jest.js

10
.jest.js

@ -39,9 +39,15 @@ module.exports = {
collectCoverageFrom: [ collectCoverageFrom: [
"components/**/*.{js,jsx,vue}", "components/**/*.{js,jsx,vue}",
'!components/*/style/index.{js,jsx}', '!components/*/style/index.{js,jsx}',
'!components/style/index.{js,jsx}', '!components/style/*.{js,jsx}',
'!components/*/locale/index.{js,jsx}', '!components/*/locale/*.{js,jsx}',
'!components/*/__tests__/**/type.{js,jsx}', '!components/*/__tests__/**/type.{js,jsx}',
'!components/vc-*/**/*',
'!components/*/demo/**/*',
'!components/_util/**/*',
'!components/align/**/*',
'!components/trigger/**/*',
'!components/style.js',
"!**/node_modules/**" "!**/node_modules/**"
], ],
transformIgnorePatterns, transformIgnorePatterns,

Loading…
Cancel
Save