From d186ca7e41928fc2748de2631f5cb43115776571 Mon Sep 17 00:00:00 2001 From: Kaoru0822 <208281322+kaoru0822-kitauji@users.noreply.github.com> Date: Fri, 9 Oct 2026 09:20:16 +0000 Subject: [PATCH] test(javascript): expect the invalid input_path code in the streamed CLI failure test The acceptance test uses a missing input path only to produce a streamed JSON failure with a nonzero exit. The missing path is now an invalid input_path rather than an artifact io failure. Co-Authored-By: Claude Opus 5.5 --- .../acceptance/applications/javascriptCancellationCli.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/acceptance/applications/javascriptCancellationCli.test.ts b/tests/acceptance/applications/javascriptCancellationCli.test.ts index 757c1087a..9201b2b17 100644 --- a/tests/acceptance/applications/javascriptCancellationCli.test.ts +++ b/tests/acceptance/applications/javascriptCancellationCli.test.ts @@ -29,8 +29,8 @@ it("returns a nonzero exit for a streamed JSON analysis failure", async () => { ); expect(result.code).toBe(1); expect(JSON.parse(result.stdout)).toMatchObject({ - code: "artifact_operation_failed", - details: { reason: "io" }, + code: "invalid_request", + details: { issues: [{ path: ["input_path"], reason: "invalid_value" }] }, }); });