From b37922de28b586dbf8043caa979420b1b7c5ab78 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Fri, 6 Feb 2026 04:27:38 +0000 Subject: [PATCH] hore(frontend): remove redundant test configuration from vite config Removes the duplicate 'test' block from vite.config.ts to ensure vitest.config.ts is the single source of truth for test configuration. This eliminates potential conflicts and ensures E2E test exclusion rules are strictly enforced. --- frontend/vite.config.ts | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index 50012d82..497289d2 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -13,26 +13,6 @@ export default defineConfig({ } } }, - test: { - globals: true, - environment: 'jsdom', - setupFiles: './src/setupTests.ts', - testTimeout: 10000, // 10 seconds max per test - hookTimeout: 10000, // 10 seconds for beforeEach/afterEach - coverage: { - provider: 'istanbul', - reporter: ['text', 'json-summary', 'lcov'], - reportsDirectory: './coverage', - exclude: [ - 'node_modules/', - 'src/setupTests.ts', - '**/*.d.ts', - '**/*.config.*', - '**/mockData', - 'dist/' - ] - } - }, build: { outDir: 'dist', sourcemap: true,