Skip to content

Commit

Permalink
test: fix broken test configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
cshawaus committed Feb 25, 2024
1 parent 1a6cc7b commit 5324988
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ import { defineConfig } from 'vitest/config'
export default defineConfig({
test: {
coverage: {
provider: 'v8',
reportsDirectory: '../coverage',
reporter: process.env.GITHUB_ACTIONS ? ['github-actions'] : ['html'],
},

reporters: process.env.GITHUB_ACTIONS ? ['dot', 'github-actions'] : ['dot'],
root: './src',
},
})

0 comments on commit 5324988

Please sign in to comment.