Skip to content

Commit

Permalink
test: update coverage collecting rules
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorlxy committed Sep 12, 2024
1 parent 35693a9 commit e2db42a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@ export default defineConfig({
test: {
coverage: {
all: true,
include: ['packages/*/src/**/*.ts'],
exclude: [
'packages/bundler-*/**',
'packages/client/**',
'packages/vuepress/**',
],
include: ['packages/*/src/**'],
provider: 'istanbul',
reporter: ['clover', 'json', 'lcov', 'text'],
},
Expand Down

0 comments on commit e2db42a

Please sign in to comment.