From 9ea483e8130ae0ea55a422b650139a4a82611d67 Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Sat, 3 Jan 2026 16:41:01 +0100 Subject: [PATCH] Fix test: update expected error message for concurrent prompt --- packages/coding-agent/test/agent-session-concurrent.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/coding-agent/test/agent-session-concurrent.test.ts b/packages/coding-agent/test/agent-session-concurrent.test.ts index 2458d879..0d0a7c31 100644 --- a/packages/coding-agent/test/agent-session-concurrent.test.ts +++ b/packages/coding-agent/test/agent-session-concurrent.test.ts @@ -127,7 +127,7 @@ describe("AgentSession concurrent prompt guard", () => { // Second prompt should reject await expect(session.prompt("Second message")).rejects.toThrow( - "Agent is already processing. Use steer() or followUp() to queue messages during streaming.", + "Agent is already processing. Specify streamingBehavior ('steer' or 'followUp') to queue the message.", ); // Cleanup