From 026541516e6898a95e0dbf6fc7d002fcc068e596 Mon Sep 17 00:00:00 2001 From: Clark Du Date: Thu, 29 Mar 2018 17:30:16 +0800 Subject: [PATCH] test(coverage): ignore lib/*.js coverage --- jest.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jest.config.js b/jest.config.js index 8caccb96a2..a57721679d 100644 --- a/jest.config.js +++ b/jest.config.js @@ -3,7 +3,8 @@ module.exports = { coverageDirectory: './coverage/', coveragePathIgnorePatterns: [ '/node_modules/', - '/lib/builder/webpack/plugins/vue' + '/lib/builder/webpack/plugins/vue', + '/lib/[^/]*\\.js' ], setupTestFrameworkScriptFile: './test/utils/setup', testPathIgnorePatterns: ['test/fixtures/.*/.*?/'],