mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-13 11:00:50 +00:00
test: remove redundant channels smoke parse case
This commit is contained in:
@@ -6,7 +6,6 @@ import {
|
||||
installSmokeProgramMocks,
|
||||
messageCommand,
|
||||
onboardCommand,
|
||||
runChannelLogin,
|
||||
runTui,
|
||||
runtime,
|
||||
setupCommand,
|
||||
@@ -192,19 +191,4 @@ describe("cli program (smoke)", () => {
|
||||
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();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user