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,