From ad4841a8921ed53093975384fc55147e8ef264e6 Mon Sep 17 00:00:00 2001 From: Evan You Date: Thu, 11 Jun 2020 16:58:11 -0400 Subject: [PATCH] chore: ignore unreachable files from coverage --- jest.config.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/jest.config.js b/jest.config.js index 5e09ae11..dc548bf8 100644 --- a/jest.config.js +++ b/jest.config.js @@ -19,7 +19,13 @@ module.exports = { '!packages/runtime-test/src/utils/**', '!packages/template-explorer/**', '!packages/size-check/**', - '!packages/runtime-core/src/profiling.ts' + '!packages/runtime-core/src/profiling.ts', + // DOM transitions are tested via e2e so no coverage is collected + '!packages/runtime-dom/src/components/Transition*', + // only called in browsers + '!packages/vue/src/devCheck.ts', + // only used as a build entry + '!packages/vue/src/runtime.ts' ], watchPathIgnorePatterns: ['/node_modules/', '/dist/', '/.git/'], moduleFileExtensions: ['ts', 'tsx', 'js', 'json'],