Make Hose command boundaries explicit

This commit is contained in:
gitea committed 2026-09-22 12:00:45 +08:00
1 parent f3134a59b3
commit c71979cde2
8 files changed
+53 -35

No files matched your search

+8
View File
@@ -85,6 +85,14 @@ describe("renderHelp", () => {
expect(help).not.toContain("seal-use billing");
});
test("renders Hose-specific auth and approval flow command names", () => {
const authHelp = renderHelp(["auth"]);
const approvalHelp = renderHelp(["approval-runs"]);
expect(authHelp).toContain("seal-use auth hose-extract-keys");
expect(authHelp).toContain("seal-use auth hose-keys");
expect(approvalHelp).toContain("seal-use approval-runs hose-flow");
});
test("renders focused subcommand help with usage, options, and description", () => {
const help = renderHelp(["corps", "bind-test"]);
expect(help).toContain("seal-use corps bind-test");