test(coding-agent): update stale mocks and fix /clone expectation (#3608)

This commit is contained in:
Julian LaNeve
2026-04-23 14:52:03 -04:00
committed by GitHub
parent d862ae50f8
commit ab744e216d
5 changed files with 9 additions and 6 deletions

View File

@@ -147,6 +147,7 @@ function createRuntimeHost(options: { withAuth: boolean; responseDelayMs: number
switchSession: vi.fn(async () => ({ cancelled: true })),
fork: vi.fn(async () => ({ cancelled: true, selectedText: "" })),
dispose: vi.fn(async () => {}),
setRebindSession: vi.fn(),
} as unknown as AgentSessionRuntime;
return {