Skip to content

Commit

Permalink
vitest coverage config
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronbrill committed Mar 9, 2024
1 parent d6e5159 commit b3674fd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion vitest.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@ export default defineConfig({
environment: 'jsdom',
globals:true,
setupFiles: "src/setupTests.ts",
reporters: ['default', 'html', 'json'],
coverage: {
provider: 'istanbul',
reporter: ['json']
all: true,
reporter: ["json", "text", "html", "json-summary"],
reportsDirectory: './src/__tests__/coverage'
}
},
})

0 comments on commit b3674fd

Please sign in to comment.