From 1b737189b7579f38d9d19a78341199205b84c3fc Mon Sep 17 00:00:00 2001 From: TheSparta Date: Sat, 4 Nov 2023 14:54:17 +0000 Subject: [PATCH] Added coverage reportOnFailure and removed enabled by default --- project/vitest.config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project/vitest.config.ts b/project/vitest.config.ts index ddb66886..1c035d83 100644 --- a/project/vitest.config.ts +++ b/project/vitest.config.ts @@ -12,10 +12,10 @@ export default defineConfig({ environment: "./CustomEnvironment.ts", globals: true, coverage: { - enabled: true, provider: "v8", reporter: ["text", "html"], - reportsDirectory: "./__coverage__" + reportsDirectory: "./__coverage__", + reportOnFailure: true }, typecheck: { enabled: true