Skip to content

Commit

Permalink
Report test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
Brayden committed Jan 26, 2025
1 parent b263f3f commit 46075e5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,16 @@ export default defineConfig({
test: {
coverage: {
provider: 'istanbul',
reporter: ['text', 'html', 'json', 'json-summary', 'lcov'],
reporter: ['text', 'html', 'json', 'lcov'],
include: ['src/**/*.ts'],
exclude: ['**/node_modules/**'],
reportOnFailure: true,
thresholds: {
lines: 60,
branches: 60,
functions: 60,
statements: 60,
},
},
},
})

0 comments on commit 46075e5

Please sign in to comment.