Skip to content

Commit

Permalink
test: add github actions reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
cshawaus committed Feb 24, 2024
1 parent ad2673d commit 1a6cc7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default defineConfig({
test: {
coverage: {
reportsDirectory: '../coverage',
reporter: ['html'],
reporter: process.env.GITHUB_ACTIONS ? ['github-actions'] : ['html'],
},

root: './src',
Expand Down

0 comments on commit 1a6cc7b

Please sign in to comment.