From 71b5ce75124c7301a41f628b541b2234ee593811 Mon Sep 17 00:00:00 2001 From: TheSparta Date: Sat, 4 Nov 2023 18:37:16 +0000 Subject: [PATCH] fixed `__coverage__` folder location --- project/vitest.config.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/project/vitest.config.ts b/project/vitest.config.ts index 68f685ab..b5bd7afc 100644 --- a/project/vitest.config.ts +++ b/project/vitest.config.ts @@ -14,11 +14,11 @@ export default defineConfig({ coverage: { provider: "v8", reporter: ["text", "html"], - reportsDirectory: "./__coverage__", + reportsDirectory: "./tests/__coverage__", reportOnFailure: true, - all: true, - include: ["src"], - exclude: ["src/models/**", "tests/**", "src/__coverage__"] + all: true, + include: ["src"], + exclude: ["src/models/**", "tests/**"] }, typecheck: { enabled: true