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.
This commit is contained in:
GitHub Actions
2026-02-06 04:27:38 +00:00
parent 9cd2f5602c
commit b37922de28
-20
View File
@@ -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,