From cfcdd5c1dd3bc5f8a83c0de53c8f4352297a9b8b Mon Sep 17 00:00:00 2001 From: Kit Langton Date: Thu, 2 Apr 2026 09:55:26 -0400 Subject: [PATCH] test(app): relax review patch mock matching --- packages/app/e2e/session/session-review.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/app/e2e/session/session-review.spec.ts b/packages/app/e2e/session/session-review.spec.ts index b7695cc0b5..6e7df88eed 100644 --- a/packages/app/e2e/session/session-review.spec.ts +++ b/packages/app/e2e/session/session-review.spec.ts @@ -1,6 +1,6 @@ import { waitSessionIdle, withSession } from "../actions" import { test, expect } from "../fixtures" -import { inputMatch } from "../prompt/mock" +import { promptMatch } from "../prompt/mock" const count = 14 @@ -47,7 +47,7 @@ async function patchWithMock( patchText: string, ) { const callsBefore = await llm.calls() - await llm.toolMatch(inputMatch({ patchText }), "apply_patch", { patchText }) + await llm.toolMatch(promptMatch("Apply the provided patch exactly once."), "apply_patch", { patchText }) await sdk.session.promptAsync({ sessionID, agent: "build",