fix: stabilize ci checks

This commit is contained in:
Peter Steinberger committed 2026-01-19 00:34:26 +00:00
1 parent 2f6b5ffdfe
commit d9384785a3
35 files changed
+197 -268

No files matched your search

+3 -10
View File
@@ -17,16 +17,9 @@ describe("argv helpers", () => {
});
it("extracts command path ignoring flags and terminator", () => {
expect(getCommandPath(["node", "clawdbot", "status", "--json"], 2)).toEqual([
"status",
]);
expect(getCommandPath(["node", "clawdbot", "agents", "list"], 2)).toEqual([
"agents",
"list",
]);
expect(getCommandPath(["node", "clawdbot", "status", "--", "ignored"], 2)).toEqual([
"status",
]);
expect(getCommandPath(["node", "clawdbot", "status", "--json"], 2)).toEqual(["status"]);
expect(getCommandPath(["node", "clawdbot", "agents", "list"], 2)).toEqual(["agents", "list"]);
expect(getCommandPath(["node", "clawdbot", "status", "--", "ignored"], 2)).toEqual(["status"]);
});
it("returns primary command", () => {