mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 08:30:43 +00:00
test: clarify bundled command assertion
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user