Skip to content

Commit 09e5d60

Browse files
committed
fix(ci): format node-host runtime/worker tests
Unformatted test edits landed on main and fail check-lint's oxfmt gate on every branch.
1 parent 50e777b commit 09e5d60

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

src/node-host/runtime.test.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,8 @@ describe("node-host duplex capability selection", () => {
160160
enableDuplexPluginCommands: true,
161161
});
162162

163-
expect(listRegisteredNodeHostCapsAndCommands).toHaveBeenLastCalledWith(
164-
expect.anything(),
165-
{ includeDuplex: true },
166-
);
163+
expect(listRegisteredNodeHostCapsAndCommands).toHaveBeenLastCalledWith(expect.anything(), {
164+
includeDuplex: true,
165+
});
167166
});
168167
});

src/node-host/worker.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ describe("parseNodeHostWorkerInput", () => {
2323
JSON.stringify({ type: "invoke-input", invokeId: "invoke-1", seq: -1, payloadJSON: "x" }),
2424
),
2525
).toBeNull();
26-
expect(parseNodeHostWorkerInput(JSON.stringify({ type: "invoke-cancel", invokeId: "" }))).toBeNull();
26+
expect(
27+
parseNodeHostWorkerInput(JSON.stringify({ type: "invoke-cancel", invokeId: "" })),
28+
).toBeNull();
2729
});
2830
});
2931

0 commit comments

Comments
 (0)