chore: update coverage config to use explicit include

This commit is contained in:
Evan You 2024-08-28 18:06:46 +08:00
parent 080b6042c2
commit 47d81584a3
No known key found for this signature in database
GPG Key ID: 00E9AB7A6704CE0A
1 changed files with 1 additions and 9 deletions

View File

@ -34,15 +34,7 @@ export default defineConfig({
coverage: {
provider: 'istanbul',
reporter: ['text', 'html'],
exclude: [
...configDefaults.coverage.exclude!,
// DOM transitions are tested via e2e so no coverage is collected
'packages/runtime-dom/src/components/Transition*',
// mostly entries
'packages/vue-compat/**',
'packages-private/**',
'scripts/**',
],
include: ['packages/*/src/**'],
},
},
})