Skip to content

Commit 39df724

Browse files
authored
chore: use github test reporter on CI and fix TS error (#1057)
1 parent a9d806c commit 39df724

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

vitest.config.mts

+2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@ export default defineConfig({
1919
include: ['src/**/'],
2020
reporter: ['text', 'json', 'html', 'text-summary'],
2121
reportsDirectory: './coverage/',
22+
provider: 'v8',
2223
},
2324
environment: 'jsdom',
2425
dir: 'tests',
26+
reporters: process.env.GITHUB_ACTIONS ? ['default', 'github-actions'] : ['default'],
2527
},
2628
})

0 commit comments

Comments
 (0)