test: remove redundant channels smoke parse case

This commit is contained in:
Peter Steinberger
2026-02-22 12:56:18 +00:00
parent 5e62d0105b
commit 9e868dcf5a

View File

@@ -6,7 +6,6 @@ import {
installSmokeProgramMocks, installSmokeProgramMocks,
messageCommand, messageCommand,
onboardCommand, onboardCommand,
runChannelLogin,
runTui, runTui,
runtime, runtime,
setupCommand, setupCommand,
@@ -192,19 +191,4 @@ describe("cli program (smoke)", () => {
runtime, runtime,
); );
}); });
it.each([
{
label: "runs channels login",
argv: ["channels", "login", "--account", "work"],
expectCall: () =>
expect(runChannelLogin).toHaveBeenCalledWith(
{ channel: undefined, account: "work", verbose: false },
runtime,
),
},
])("channels command: $label", async ({ argv, expectCall }) => {
await runProgram(argv);
expectCall();
});
}); });