mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-24 03:15:46 -06:00
refactor(cli): unify gateway RPC transport (#117601)
This commit is contained in:
committed by
GitHub
parent
e19486d023
commit
3856b4fa1b
@@ -978,10 +978,10 @@ describe("cli program (nodes basics)", () => {
|
||||
});
|
||||
|
||||
it("rejects unsupported node approval backend methods at runtime", async () => {
|
||||
const { callNodePairApprovalGatewayCliRuntime } = await import("./nodes-cli/rpc.runtime.js");
|
||||
const { callNodePairApprovalGatewayCli } = await import("./nodes-cli/rpc.js");
|
||||
|
||||
await expect(
|
||||
callNodePairApprovalGatewayCliRuntime(
|
||||
callNodePairApprovalGatewayCli(
|
||||
"node.invoke" as never,
|
||||
{ json: true },
|
||||
{},
|
||||
|
||||
Reference in New Issue
Block a user