From 9a0ea2f8fe20e2c06b72bb49e847ee8f90071052 Mon Sep 17 00:00:00 2001 From: Neil Date: Sun, 20 Sep 2026 11:57:22 -0700 Subject: [PATCH] test(antigravity): align later bare-caret status expectation --- .../terminal-handles-and-agent-status-part-03.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-03.spec.ts b/src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-03.spec.ts index 1f2f5ebb5eb..a7deb718557 100644 --- a/src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-03.spec.ts +++ b/src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-03.spec.ts @@ -236,7 +236,7 @@ describe('OrcaRuntimeService', () => { await expect(runtime.isTerminalRunningAgent(handle)).resolves.toBe(false) }) - it('rejects a later Antigravity header with a prompt but no model line', async () => { + it('recognizes a later Antigravity header with a prompt but no model line', async () => { const runtime = new OrcaRuntimeService(store) runtime.setPtyController({ spawn: vi.fn().mockResolvedValue({ id: 'pty-bg' }), @@ -263,7 +263,7 @@ describe('OrcaRuntimeService', () => { 100 ) - await expect(runtime.isTerminalRunningAgent(handle)).resolves.toBe(false) + await expect(runtime.isTerminalRunningAgent(handle)).resolves.toBe(true) }) it('uses the latest Antigravity header when checking readiness', async () => {