Skip to content

Commit

Permalink
chore: add coverage reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisSmuda committed Feb 16, 2025
1 parent 4256483 commit 1341f51
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,11 @@ export default defineVitestConfig({
test: {
environment: 'nuxt',
exclude: ['**/e2e/**', '**/node_modules/**'],
coverage: {
// you can include other reporters, but 'json-summary' is required, json is recommended
reporter: ['text', 'json-summary', 'json'],
// If you want a coverage reports even if your tests are failing, include the reportOnFailure option
reportOnFailure: true,
},
},
})

0 comments on commit 1341f51

Please sign in to comment.