Add c8 code coverage

This commit is contained in:
Manuel
2023-03-17 23:17:58 +01:00
parent 5ed363146f
commit 0b237f27f7
3 changed files with 215 additions and 9 deletions

View File

@@ -7,5 +7,11 @@ export default defineConfig({
plugins: [react()],
test: {
environment: 'jsdom',
coverage: {
provider: 'c8',
reporter: ['html'],
all: true,
exclude: ['.next/', '.yarn/', 'data/']
}
},
});