chore(test): html coverage

This commit is contained in:
Elian Doran 2025-02-26 20:43:21 +02:00
parent 6f9fd76465
commit 89eab387ba
No known key found for this signature in database
2 changed files with 5 additions and 1 deletions

View File

@ -2,6 +2,9 @@ import { defineConfig } from "vitest/config";
export default defineConfig({
test: {
environment: "happy-dom"
environment: "happy-dom",
coverage: {
reporter: [ "text", "html" ]
}
}
});

View File

@ -19,6 +19,7 @@ export default defineConfig({
test: {
exclude: [...configDefaults.exclude, ...customExcludes],
coverage: {
reporter: [ "text", "html" ],
exclude: [...coverageConfigDefaults.exclude, ...customExcludes]
}
}