From 7c0269be54e671b7af25cf269bbc8a3a327c52be Mon Sep 17 00:00:00 2001 From: Brennan Benson <79079362+brennanb2025@users.noreply.github.com> Date: Fri, 2 Oct 2026 02:52:48 -0700 Subject: [PATCH] test(launch-prompt): build the phone line-carry runtime from the default store, without a cast --- .../orca-runtime-tests/mobile-session-tabs-part-12.spec.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-12.spec.ts b/src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-12.spec.ts index 5545ce19b79..2251fe81b38 100644 --- a/src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-12.spec.ts +++ b/src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-12.spec.ts @@ -42,10 +42,7 @@ describe('OrcaRuntimeService', () => { // ready, so it keeps the line rather than refuse what main started. it('starts an agent with a prompt it cannot paste on its line, as main did', async () => { const spawn = vi.fn().mockResolvedValue({ id: 'pty-agent-long-prompt' }) - const runtime = new OrcaRuntimeService({ - ...store, - getSettings: () => ({ ...store.getSettings(), disabledTuiAgents: [], agentCmdOverrides: {} }) - } as never) + const runtime = new OrcaRuntimeService(store) runtime.setPtyController({ spawn, write: () => true,