From eb24168e9efecc7d43bbd60432fbccb9761349aa Mon Sep 17 00:00:00 2001 From: Dave Date: Fri, 27 Feb 2026 11:46:43 +0000 Subject: [PATCH] fix: increase vitest testTimeout to 10s to prevent flaky App mount test The "calls getCurrentProject() on mount" test uses vi.resetModules() with dynamic imports which can be slow. The per-test 10_000ms timeout was not being respected by vitest, causing it to fail at the 5000ms default. Co-Authored-By: Claude Opus 4.6 --- frontend/vitest.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/vitest.config.ts b/frontend/vitest.config.ts index 3cfc5ab..f77f4f2 100644 --- a/frontend/vitest.config.ts +++ b/frontend/vitest.config.ts @@ -9,6 +9,7 @@ export default defineConfig({ test: { environment: "jsdom", globals: true, + testTimeout: 10_000, setupFiles: ["./src/setupTests.ts"], css: true, exclude: ["tests/e2e/**", "node_modules/**"],