From 0fb9b54fe068dd8d7fd1e317f8aa83846f4c8e35 Mon Sep 17 00:00:00 2001 From: Clark Du Date: Thu, 29 Mar 2018 16:15:44 +0800 Subject: [PATCH] test(coverage): collect coverage from all js by default --- jest.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/jest.config.js b/jest.config.js index 0f90ce61c1..e0dc92d460 100644 --- a/jest.config.js +++ b/jest.config.js @@ -2,6 +2,7 @@ module.exports = { testEnvironment: 'node', coverageDirectory: './coverage/', collectCoverageFrom: [ + '/**/*.js', '!/lib/builder/webpack/plugins/vue/' ], setupTestFrameworkScriptFile: './test/utils/setup',