chore: ignore unreachable files from coverage

This commit is contained in:
Evan You 2020-06-11 16:58:11 -04:00
parent 426803046f
commit ad4841a892

View File

@ -19,7 +19,13 @@ module.exports = {
'!packages/runtime-test/src/utils/**', '!packages/runtime-test/src/utils/**',
'!packages/template-explorer/**', '!packages/template-explorer/**',
'!packages/size-check/**', '!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/'], watchPathIgnorePatterns: ['/node_modules/', '/dist/', '/.git/'],
moduleFileExtensions: ['ts', 'tsx', 'js', 'json'], moduleFileExtensions: ['ts', 'tsx', 'js', 'json'],