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, 02:00 UTC
test(web): OpenInPicker announcement test no longer hears the previous test (#33139)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Theo Browne committed
Nov 8, 2026 at 17:08 UTC
920ffcdd043ef184d21fb11be7b052f628667142
1 file changed
+2
apps/web/src/components/chat/OpenInPicker.browser.test.tsx
+2
@@ -194,6 +194,8 @@ describe("remote editor links", () => {
194
await using fixture = await setup();
195
const { screen, pressOpenFavorite, FavoriteEditorFallback } = fixture;
196
state.remote = { mode: "remote-links", host: { kind: "ssh-alias", host: "sol" } };
197
+ // A successful open would announce on a real timer that fires in the next test.
198
+ state.openUrl.mockResolvedValueOnce(false);
199
await act(async () => screen.rerender(<FavoriteEditorFallback />));
200
201
expect((await pressOpenFavorite()).defaultPrevented).toBe(true);