test(web): add opt-in reasoning chunk stress lane

This commit is contained in:
kingwl authored and imccyu committed 2026-08-04 14:37:31 +08:00
1 parent 3c436d781e
commit a44c8797b6
9 files changed
+388

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
import tsconfigPaths from 'vite-tsconfig-paths'
import { defineConfig } from 'vitest/config'
import { vitestExecArgv } from './vitest.shared.ts'
/** Opt-in browser performance lane; no default Vitest config includes *.stress.ts. */
export default defineConfig({
plugins: [tsconfigPaths({ projects: ['./tsconfig.base.json'] })],
test: {
execArgv: vitestExecArgv,
include: ['apps/web/stress-tests/**/*.stress.ts'],
testTimeout: 600_000,
hookTimeout: 120_000,
fileParallelism: false,
},
})