Skip to content

Commit

Permalink
feat(coverage): include json reporter by default
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Aug 29, 2022
1 parent a5d1ef4 commit faed4ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vitest/src/defaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const coverageConfigDefaults = {
reportsDirectory: './coverage',
excludeNodeModules: true,
exclude: defaultCoverageExcludes,
reporter: ['text', 'html', 'clover'],
reporter: ['text', 'html', 'clover', 'json'],
allowExternal: false,
// default extensions used by c8, plus '.vue' and '.svelte'
// see https://github.com/istanbuljs/schema/blob/master/default-extension.js
Expand Down

0 comments on commit faed4ac

Please sign in to comment.