Clarify enterprise onboarding commands

This commit is contained in:
gitea committed 2026-09-22 13:50:35 +08:00
1 parent 941a1597c0
commit 50a8beb3fd
14 files changed
+74 -29

No files matched your search

+9
View File
@@ -195,6 +195,15 @@ describe("corps link onboarding", () => {
});
describe("corp compatibility alias", () => {
test("exposes add-hose-persistent as the canonical Hose onboarding command", async () => {
setupConfigEnv();
const result = await runCli(["corps", "add-hose-persistent", "--json", "{}"]);
expect(result.isError).toBe(true);
expect(result.stderr).toContain("Missing required JSON field: appKey");
expect(result.stderr).not.toContain("Unknown corps action");
});
test("seal-use corp list executes and resolves cleanly like seal-use corps", async () => {
setupConfigEnv();
const result = await runCli(["corp", "list"]);