From d490d56f50aa2e8347e3fa254a8a82d69b090c47 Mon Sep 17 00:00:00 2001 From: nurodev Date: Sun, 25 Feb 2024 13:38:10 +0000 Subject: [PATCH] Enabled code coverage --- vitest.config.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/vitest.config.ts b/vitest.config.ts index fbd9831..dbf2f32 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -2,6 +2,18 @@ import { defineConfig } from "vitest/config"; export default defineConfig({ test: { + coverage: { + all: false, // TODO: Remove this & check all files + clean: true, + enabled: true, + provider: "v8", + thresholds: { + statements: 100, + branches: 100, + functions: 100, + lines: 100, + }, + }, setupFiles: ["dotenv/config"], }, });