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:
Peter Steinberger
2026-07-14 03:35:07 -07:00
parent 50e777bc25
commit 09e5d60d3c
2 changed files with 6 additions and 5 deletions

View File

@@ -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,
});
});
});

View File

@@ -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();
});
});