From 7c9c4a5017133632e466e5f5f6bc33d87a78b227 Mon Sep 17 00:00:00 2001 From: Clark Du Date: Thu, 29 Mar 2018 15:20:48 +0800 Subject: [PATCH] test(coverage): ignore forked vue-ssr plugin --- jest.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jest.config.js b/jest.config.js index 136365e51e..0f90ce61c1 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,6 +1,9 @@ module.exports = { testEnvironment: 'node', coverageDirectory: './coverage/', + collectCoverageFrom: [ + '!/lib/builder/webpack/plugins/vue/' + ], setupTestFrameworkScriptFile: './test/utils/setup', testPathIgnorePatterns: ['test/fixtures/.*/.*?/'], moduleFileExtensions: ['js', 'mjs', 'json'],