From fd29ce51025afdd4ec81b15e3cd587948a500c57 Mon Sep 17 00:00:00 2001 From: teknium1 <127238744+teknium1@users.noreply.github.com> Date: Fri, 24 Jul 2026 22:34:41 -0700 Subject: [PATCH] fix: widen requestGateway mock signature for typecheck (follow-up for salvaged PR #69689) --- .../src/app/session/hooks/use-prompt-actions/index.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/desktop/src/app/session/hooks/use-prompt-actions/index.test.tsx b/apps/desktop/src/app/session/hooks/use-prompt-actions/index.test.tsx index b9f18979ec3..e5cc41077ef 100644 --- a/apps/desktop/src/app/session/hooks/use-prompt-actions/index.test.tsx +++ b/apps/desktop/src/app/session/hooks/use-prompt-actions/index.test.tsx @@ -1171,7 +1171,7 @@ describe('usePromptActions submit / queue drain semantics', () => { // the queue entry. The drain must instead go through session.resume to // rebind the correct runtime before submitting. const requestGateway = vi.fn( - async (method: string) => + async (method: string, _params?: Record, _timeoutMs?: number) => (method === 'session.resume' ? { session_id: 'rt-session-a-rebound' } : {}) as never )