mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-19 03:27:26 +00:00
test: remove redundant channels smoke parse case
This commit is contained in:
@@ -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();
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user