Skip to content

Commit ad4841a

Browse files
committed
chore: ignore unreachable files from coverage
1 parent 4268030 commit ad4841a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

jest.config.js

+7-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,13 @@ module.exports = {
1919
'!packages/runtime-test/src/utils/**',
2020
'!packages/template-explorer/**',
2121
'!packages/size-check/**',
22-
'!packages/runtime-core/src/profiling.ts'
22+
'!packages/runtime-core/src/profiling.ts',
23+
// DOM transitions are tested via e2e so no coverage is collected
24+
'!packages/runtime-dom/src/components/Transition*',
25+
// only called in browsers
26+
'!packages/vue/src/devCheck.ts',
27+
// only used as a build entry
28+
'!packages/vue/src/runtime.ts'
2329
],
2430
watchPathIgnorePatterns: ['/node_modules/', '/dist/', '/.git/'],
2531
moduleFileExtensions: ['ts', 'tsx', 'js', 'json'],

0 commit comments

Comments
 (0)