From cbfa43e89700af5cb65b7322a0843408d5869b92 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Mon, 14 May 2018 10:20:05 +0800 Subject: [PATCH] test: add ignore file --- .jest.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.jest.js b/.jest.js index 970fb4ac5..db17b2570 100644 --- a/.jest.js +++ b/.jest.js @@ -39,9 +39,15 @@ module.exports = { collectCoverageFrom: [ "components/**/*.{js,jsx,vue}", '!components/*/style/index.{js,jsx}', - '!components/style/index.{js,jsx}', - '!components/*/locale/index.{js,jsx}', + '!components/style/*.{js,jsx}', + '!components/*/locale/*.{js,jsx}', '!components/*/__tests__/**/type.{js,jsx}', + '!components/vc-*/**/*', + '!components/*/demo/**/*', + '!components/_util/**/*', + '!components/align/**/*', + '!components/trigger/**/*', + '!components/style.js', "!**/node_modules/**" ], transformIgnorePatterns,