diff --git a/packages/acp/acp/tests/turns.spec.ts b/packages/acp/acp/tests/turns.spec.ts index 3e103f0a66..e0a67a3ad1 100644 --- a/packages/acp/acp/tests/turns.spec.ts +++ b/packages/acp/acp/tests/turns.spec.ts @@ -696,7 +696,7 @@ describe('ACP prompt lifecycle', () => { const ref = await harness.attachments!.saveImage({ data: Uint8Array.of(6), mediaType: 'image/png' }) ctx.tools.register(defineContentToolFixture({ name: 'continue_stream', description: 'Continue the interrupted response.', parameters: {}, - execute: () => [{ type: 'text', text: 'continue until cancelled' }], + execute: () => Promise.resolve([{ type: 'text', text: 'continue until cancelled' }]), })) // Interrupted streams retain only text/reasoning, so a completed step supplies the queued image. script.push([