Skip to content

Commit

Permalink
test: minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dragon-fish committed Feb 18, 2024
1 parent 78b3b6f commit a644eb5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ export default defineConfig({
include: ['src/**'],
reportsDirectory: './.test_reports/coverage',
},
reporters: ['default', 'html'],
reporters: [
'default',
...(process.env.GITHUB_ACTIONS ? ['github-actions'] : ['html']),
],
outputFile: {
html: './.test_reports/index.html',
},
Expand Down

0 comments on commit a644eb5

Please sign in to comment.