From 1f3872b6ee0792a666e03ab24b9d4273f6df4c10 Mon Sep 17 00:00:00 2001 From: HiranoMasaaki Date: Fri, 13 Mar 2026 13:46:54 +0000 Subject: [PATCH] fix: add --text flag to log E2E test to avoid Ink raw mode error in CI Co-Authored-By: Claude Opus 4.6 --- .changeset/fix-e2e-log-raw-mode.md | 5 +++++ e2e/perstack-cli/log.test.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/fix-e2e-log-raw-mode.md diff --git a/.changeset/fix-e2e-log-raw-mode.md b/.changeset/fix-e2e-log-raw-mode.md new file mode 100644 index 00000000..e8e91c44 --- /dev/null +++ b/.changeset/fix-e2e-log-raw-mode.md @@ -0,0 +1,5 @@ +--- +"perstack": patch +--- + +fix: add --text flag to log E2E test to avoid Ink raw mode error in CI diff --git a/e2e/perstack-cli/log.test.ts b/e2e/perstack-cli/log.test.ts index c644f819..32f80848 100644 --- a/e2e/perstack-cli/log.test.ts +++ b/e2e/perstack-cli/log.test.ts @@ -15,7 +15,7 @@ describe("Log Command", () => { }) it("should handle nonexistent job gracefully", async () => { - const result = await runCli(["log", "--job", "nonexistent-job-id"]) + const result = await runCli(["log", "--job", "nonexistent-job-id", "--text"]) expect(result.stdout).toContain("No data found") })