From 9bd7e2cb459d0354ee2c406555de9e427c549086 Mon Sep 17 00:00:00 2001 From: morluto <76467478+morluto@users.noreply.github.com> Date: Tue, 29 Sep 2026 18:16:08 +0800 Subject: [PATCH] test(cli): consolidate duplicate setup journey --- tests/boundary/cli/cliSetup.test.ts | 26 +++++--------------------- 1 file changed, 5 insertions(+), 21 deletions(-) diff --git a/tests/boundary/cli/cliSetup.test.ts b/tests/boundary/cli/cliSetup.test.ts index 389d776c6..85998b0ff 100644 --- a/tests/boundary/cli/cliSetup.test.ts +++ b/tests/boundary/cli/cliSetup.test.ts @@ -107,6 +107,11 @@ describe("interactive setup journey", () => { expect(result.output).not.toContain( "REA reverse-engineering skill (skill)", ); + expect(result.output).toContain("INSTALL REA reverse-engineering skill"); + expect(result.output).not.toContain("CREATE Codex"); + expect(result.output).not.toContain( + "INSTALL Hopper deep-analysis provider", + ); expect(result.decision).toEqual({ approved: true, selectedActionIds: ["install_skill"], @@ -191,27 +196,6 @@ describe("interactive setup selection and confirmation", () => { }); }); - it("repairs an aligned agent integration through the bundled option", async () => { - const result = await runJourney( - [step("What should REA set up?", "\r"), step("Apply this change?", "\r")], - false, - actions.filter(({ kind }) => kind !== "configure_client"), - ); - - expect(result.output).toContain("INSTALL REA reverse-engineering skill"); - expect(result.output).toContain( - "Agent integration (MCP + guided workflow)", - ); - expect(result.output).not.toContain("CREATE Codex"); - expect(result.output).not.toContain( - "INSTALL Hopper deep-analysis provider", - ); - expect(result.decision).toEqual({ - approved: true, - selectedActionIds: ["install_skill"], - }); - }); - it("defaults accessible agent integration to Yes and others to No", async () => { const result = await runJourney( [