@devries-cameron20 / t3code-1 / commits / a3422a9bb5
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Fix Clerk browser test mock (#3013)

Co-authored-by: codex <codex@users.noreply.github.com>

Julius Marminge committed Jun 9, 2026 at 13:38 UTC a3422a9bb51d73724b9b665ae0ef1fb756f753d1
1 file changed +4
apps/web/src/components/settings/SettingsPanels.browser.tsx
+4
@@ -149,12 +149,16 @@ const authAccessHarness = vi.hoisted(() => {
149
150 const mockConnectDesktopSshEnvironment = vi.hoisted(() => vi.fn());
151 const mockGetClerkToken = vi.hoisted(() => vi.fn(async () => null));
152 +const mockOpenClerkWaitlist = vi.hoisted(() => vi.fn());
153
154 vi.mock("@clerk/react", () => ({
155 useAuth: () => ({
156 getToken: mockGetClerkToken,
157 isSignedIn: false,
158 }),
159 + useClerk: () => ({
160 + openWaitlist: mockOpenClerkWaitlist,
161 + }),
162 }));
163
164 vi.mock("../../environments/runtime", () => {