diff --git a/apps/desktop/src/store/gateway.test.ts b/apps/desktop/src/store/gateway.test.ts index 9caf9b91e6..708476242b 100644 --- a/apps/desktop/src/store/gateway.test.ts +++ b/apps/desktop/src/store/gateway.test.ts @@ -295,6 +295,11 @@ describe('secondary connection timeout (#93454)', () => { installDesktop({ getConnection }) + // The #92434 pin above leaves gatewayMocks.connect latched on a + // never-resolving mockImplementation (vi.clearAllMocks() clears calls, not + // implementations). Restore the default resolving dial for this test. + gatewayMocks.connect.mockImplementation(async () => undefined) + const pending = ensureGatewayForProfile('work') await vi.advanceTimersByTimeAsync(20_000)