From: Evan You Date: Thu, 11 Jun 2020 20:58:11 +0000 (-0400) Subject: chore: ignore unreachable files from coverage X-Git-Tag: v3.0.0-beta.15~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad4841a8921ed53093975384fc55147e8ef264e6;p=thirdparty%2Fvuejs%2Fcore.git chore: ignore unreachable files from coverage --- diff --git a/jest.config.js b/jest.config.js index 5e09ae1184..dc548bf8a5 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'],