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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user