The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(desktop): hoist GatewayMock type into #82462 edit recovery suite
rainbowgits3e0bf6dcaa42
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.tsxindex fb1abcf4df5..25afbea6daf 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@@ -5172,6 +5172,9 @@ describe('usePromptActions stale-closure session routing', () => {})describe('usePromptActions editMessage stale-target recovery (#82462)', () => {+ type GatewayRequestFn = <T>(method: string, params?: Record<string, unknown>, timeoutMs?: number) => Promise<T>+ type GatewayMock = GatewayRequestFn & { mock: { calls: unknown[][] } }+afterEach(() => {cleanup()clearNotifications()