diff --git a/src/cli/program/root-help.test.ts b/src/cli/program/root-help.test.ts index fc1f585b012..9f931cbea4e 100644 --- a/src/cli/program/root-help.test.ts +++ b/src/cli/program/root-help.test.ts @@ -5,8 +5,10 @@ vi.mock("./core-command-descriptors.js", () => ({ { name: "status", description: "Show status", + hasSubcommands: false, }, ], + getCoreCliCommandsWithSubcommands: () => [], })); vi.mock("./subcli-descriptors.js", () => ({ @@ -14,8 +16,10 @@ vi.mock("./subcli-descriptors.js", () => ({ { name: "config", description: "Manage config", + hasSubcommands: true, }, ], + getSubCliCommandsWithSubcommands: () => ["config"], })); vi.mock("../../plugins/cli.js", () => ({