test: add opt-in web performance scenario
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import { defineConfig } from 'vitest/config'
|
||||
import webConfig from './vitest.web.config.ts'
|
||||
|
||||
// Manual high-cardinality diagnostics stay outside vitest.web.config.ts's
|
||||
// .e2e.ts/.snapshot.ts inventory and therefore outside the CI web gate.
|
||||
export default defineConfig({
|
||||
...webConfig,
|
||||
test: {
|
||||
...webConfig.test,
|
||||
include: ['apps/web/tests/**/*.perf.ts'],
|
||||
disableConsoleIntercept: true,
|
||||
hookTimeout: 180_000,
|
||||
testTimeout: 600_000,
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user