Browse Source

chore: ignore unreachable files from coverage

pull/1355/head
Evan You 5 years ago
parent
commit
ad4841a892
  1. 8
      jest.config.js

8
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'],

Loading…
Cancel
Save