2026-07-31 16:28:43 +08:00
|
|
|
import { defineConfig } from 'vitest/config'
|
|
|
|
|
import webConfig from './vitest.web.config.ts'
|
|
|
|
|
|
2026-08-15 23:52:26 +08:00
|
|
|
// Manual high-cardinality diagnostics stay outside every default Vitest
|
|
|
|
|
// inventory and therefore outside CI's executed test lanes.
|
2026-07-31 16:28:43 +08:00
|
|
|
export default defineConfig({
|
|
|
|
|
...webConfig,
|
|
|
|
|
test: {
|
|
|
|
|
...webConfig.test,
|
2026-08-15 23:52:26 +08:00
|
|
|
include: [
|
|
|
|
|
'apps/web/tests/**/*.perf.ts',
|
|
|
|
|
'packages/api/session-controller/tests/**/*.perf.client.ts',
|
|
|
|
|
],
|
2026-07-31 16:28:43 +08:00
|
|
|
disableConsoleIntercept: true,
|
|
|
|
|
hookTimeout: 180_000,
|
|
|
|
|
testTimeout: 600_000,
|
|
|
|
|
},
|
|
|
|
|
})
|