mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-23 06:21:24 +00:00
fix(ci): format node-host runtime/worker tests
Unformatted test edits landed on main and fail check-lint's oxfmt gate on every branch.
This commit is contained in:
@@ -160,9 +160,8 @@ describe("node-host duplex capability selection", () => {
|
||||
enableDuplexPluginCommands: true,
|
||||
});
|
||||
|
||||
expect(listRegisteredNodeHostCapsAndCommands).toHaveBeenLastCalledWith(
|
||||
expect.anything(),
|
||||
{ includeDuplex: true },
|
||||
);
|
||||
expect(listRegisteredNodeHostCapsAndCommands).toHaveBeenLastCalledWith(expect.anything(), {
|
||||
includeDuplex: true,
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
@@ -23,7 +23,9 @@ describe("parseNodeHostWorkerInput", () => {
|
||||
JSON.stringify({ type: "invoke-input", invokeId: "invoke-1", seq: -1, payloadJSON: "x" }),
|
||||
),
|
||||
).toBeNull();
|
||||
expect(parseNodeHostWorkerInput(JSON.stringify({ type: "invoke-cancel", invokeId: "" }))).toBeNull();
|
||||
expect(
|
||||
parseNodeHostWorkerInput(JSON.stringify({ type: "invoke-cancel", invokeId: "" })),
|
||||
).toBeNull();
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user