The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 22, 08:15 UTC
fix(web): ChatView browser test no longer times out on CI (#28834)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Julius Marminge committed
Nov 1, 2026 at 11:06 UTC
57d764ea1aaa0227ed851641c155765525df9273
1 file changed
+3
apps/web/src/components/ChatView.browser.test.tsx
+3
@@ -7,6 +7,9 @@ import { expect, it, vi } from "vite-plus/test";
7
import { page } from "vite-plus/test/browser";
8
9
import { AppRoot } from "~/AppRoot";
10
+// The route loads ChatView lazily, and its first transform (React Compiler over ~4k lines)
11
+// takes 6-11s; importing it here keeps that out of the test's timeout.
12
+import "~/components/ChatView";
13
import { DraftId, useComposerDraftStore } from "~/composerDraftStore";
14
import { __setClientSettingsForTests } from "~/hooks/useSettings";
15
import { getRouter } from "~/router";