chore: use github test reporter on CI and fix TS error (#3015)

This commit is contained in:
Marcin Kulpa 2025-02-17 05:34:34 +01:00 committed by GitHub
parent ae32ca6bee
commit c9330941c8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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',
},
},
})