From 751d47188ccea673d542f19bc5acd0ed479ecdbf Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Fri, 8 May 2026 11:01:43 +0100 Subject: [PATCH] test: clarify bundled command assertion --- src/plugins/bundle-commands.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/bundle-commands.test.ts b/src/plugins/bundle-commands.test.ts index d29ad1e2469..b159df20a73 100644 --- a/src/plugins/bundle-commands.test.ts +++ b/src/plugins/bundle-commands.test.ts @@ -157,7 +157,8 @@ describe("loadEnabledClaudeBundleCommands", () => { promptTemplate: "Review the code. $ARGUMENTS", }, ]); - expect(commands.some((entry) => entry.rawName === "disabled")).toBe(false); + const rawNames = commands.map((entry) => entry.rawName); + expect(rawNames).not.toContain("disabled"); } finally { env.restore(); }