diff --git a/src/public/app/vitest.config.ts b/src/public/app/vitest.config.ts index 3ffc3a485..5c9eb94f6 100644 --- a/src/public/app/vitest.config.ts +++ b/src/public/app/vitest.config.ts @@ -2,6 +2,9 @@ import { defineConfig } from "vitest/config"; export default defineConfig({ test: { - environment: "happy-dom" + environment: "happy-dom", + coverage: { + reporter: [ "text", "html" ] + } } }); diff --git a/vitest.config.ts b/vitest.config.ts index 8e101f964..8f3cd3d09 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -19,6 +19,7 @@ export default defineConfig({ test: { exclude: [...configDefaults.exclude, ...customExcludes], coverage: { + reporter: [ "text", "html" ], exclude: [...coverageConfigDefaults.exclude, ...customExcludes] } }