From 4ebeb18fdeacb674699ca0b232d3e4a275bd4996 Mon Sep 17 00:00:00 2001 From: Shakker Date: Mon, 20 Apr 2026 03:59:34 +0100 Subject: [PATCH] test: restore gateway chat timer cleanup --- src/tui/gateway-chat.test.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/tui/gateway-chat.test.ts b/src/tui/gateway-chat.test.ts index 3891fd87361..494623dd545 100644 --- a/src/tui/gateway-chat.test.ts +++ b/src/tui/gateway-chat.test.ts @@ -425,6 +425,10 @@ describe("resolveGatewayConnection", () => { }); describe("GatewayChatClient", () => { + afterEach(() => { + vi.useRealTimers(); + }); + it("identifies the TUI as a tui client and skips device identity on insecure local ui paths", () => { const client = new GatewayChatClient({ url: "ws://127.0.0.1:18789",