ci: raise vitest testTimeout to 20s for the resource-constrained runner
CI / web (push) Failing after 3m50s
CI / web (push) Failing after 3m50s
The 'narrow: detail renders inside a portaled drawer' test lazy-loads the drawer chunk and exceeded the 5s default on the slow CI container (setup alone took ~486s). Bump testTimeout on both vitest projects. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -28,6 +28,9 @@ export default defineConfig({
|
|||||||
extends: true,
|
extends: true,
|
||||||
test: {
|
test: {
|
||||||
environment: "jsdom",
|
environment: "jsdom",
|
||||||
|
// The CI runner is heavily resource-constrained; lazy-loaded chunks
|
||||||
|
// (e.g. the object-detail drawer) can exceed the 5s default.
|
||||||
|
testTimeout: 20000,
|
||||||
globals: true,
|
globals: true,
|
||||||
setupFiles: ["./src/test/setup.ts"],
|
setupFiles: ["./src/test/setup.ts"],
|
||||||
environmentOptions: {
|
environmentOptions: {
|
||||||
@@ -46,6 +49,7 @@ export default defineConfig({
|
|||||||
})],
|
})],
|
||||||
test: {
|
test: {
|
||||||
name: 'storybook',
|
name: 'storybook',
|
||||||
|
testTimeout: 20000,
|
||||||
browser: {
|
browser: {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
headless: true,
|
headless: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user