Skip to content

Commit

Permalink
chore: use github test reporter on CI and fix TS error (#3015)
Browse files Browse the repository at this point in the history
  • Loading branch information
kretajak authored Feb 17, 2025
1 parent ae32ca6 commit c933094
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vitest.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@ export default defineConfig({
globals: true,
environment: 'jsdom',
dir: 'tests',
reporters: 'basic',
reporters: process.env.GITHUB_ACTIONS ? ['default', 'github-actions'] : ['default'],
setupFiles: ['tests/setup.ts'],
coverage: {
include: ['src/**/'],
reporter: ['text', 'json', 'html', 'text-summary'],
reportsDirectory: './coverage/',
provider: 'v8',
},
},
})

0 comments on commit c933094

Please sign in to comment.