Skip to content

Commit

Permalink
test: calculate coverage for src files only (#2786)
Browse files Browse the repository at this point in the history
  • Loading branch information
kretajak authored Oct 28, 2024
1 parent 82289ac commit 551a4a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export default defineConfig({
coverage: {
reporter: ['text', 'json', 'html', 'text-summary'],
reportsDirectory: './coverage/',
include: ['src/**'],
},
onConsoleLog(log) {
if (log.includes('DOMException')) return false
Expand Down

0 comments on commit 551a4a5

Please sign in to comment.