From 11f5592e2f6b533a96424f900a4e4005c30db0a0 Mon Sep 17 00:00:00 2001 From: Timo De Meyst Date: Tue, 8 Apr 2025 18:49:09 +0200 Subject: [PATCH] test: meer exclude paths toegevoegd --- backend/vitest.config.ts | 2 +- frontend/vitest.config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/vitest.config.ts b/backend/vitest.config.ts index 9b0971b6..41b3a483 100644 --- a/backend/vitest.config.ts +++ b/backend/vitest.config.ts @@ -9,7 +9,7 @@ export default defineConfig({ reporter: ['text', 'json-summary', 'json'], // If you want a coverage reports even if your tests are failing, include the reportOnFailure option reportOnFailure: true, - exclude: ['**/*config*', '**/tests/**', 'src/*.ts'], + exclude: ['**/*config*', '**/tests/**', 'src/*.ts', '**/dist/**', '**/node_modules/**'], thresholds: { lines: 60, branches: 60, diff --git a/frontend/vitest.config.ts b/frontend/vitest.config.ts index 66de040e..24dcedc5 100644 --- a/frontend/vitest.config.ts +++ b/frontend/vitest.config.ts @@ -13,7 +13,7 @@ export default mergeConfig( reporter: ["text", "json-summary", "json"], // If you want a coverage reports even if your tests are failing, include the reportOnFailure option reportOnFailure: true, - exclude: ["**/*config*"], + exclude: ["**/*config*", "**/tests/**", 'src/*.ts', '**/dist/**', '**/e2e/**', '**/*config*', '**/node_modules/**'], thresholds: { lines: 60, branches: 60,