test: clarify bundled command assertion

This commit is contained in:
Peter Steinberger
2026-05-08 11:01:43 +01:00
parent d11fb85152
commit 751d47188c

View File

@@ -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();
}