Skip to content

Commit

Permalink
Optimize coverage configuration
Browse files Browse the repository at this point in the history
* Remove text reporter
* Exclude tests from the coverage report
  • Loading branch information
aaronbrethorst committed Jan 16, 2025
1 parent 3dbbb38 commit 5be907b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ export default defineConfig({
coverage: {
provider: 'v8',
reportsDirectory: './coverage',
reporter: ['text', 'html'],
reporter: ['html'],
all: true,
exclude: ['node_modules', 'coverage', '.svelte-kit', 'build']
exclude: ['**/tests', '.svelte-kit', 'build', 'coverage', 'node_modules']
}
}
});

0 comments on commit 5be907b

Please sign in to comment.