From 4e1d293d06b1387fdefb71c695dc66a3043f577f Mon Sep 17 00:00:00 2001 From: spark Date: Tue, 13 Oct 2026 12:49:47 +0100 Subject: [PATCH] App tests: 20 s limit, whole-app renders went past 5 s on a busy runner Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW --- apps/app/vite.config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/app/vite.config.ts b/apps/app/vite.config.ts index 824365d..443ffaa 100644 --- a/apps/app/vite.config.ts +++ b/apps/app/vite.config.ts @@ -9,5 +9,6 @@ export default defineConfig({ server: { port: 5173, strictPort: true }, // No source maps in production: the browser gets minified code only, never the readable sources. build: { target: "es2022", sourcemap: false }, - test: { environment: "jsdom", setupFiles: ["./src/test-setup.ts"] }, + // Whole-app renders type character by character; on a busy CI runner they pass 5 s. + test: { environment: "jsdom", setupFiles: ["./src/test-setup.ts"], testTimeout: 20_000 }, });