Fix biome formatting in bridge.test.ts

This commit is contained in:
Jared Miller 2026-01-27 17:53:33 -05:00
parent a07618deb5
commit c8020154e7
Signed by: shmup
GPG key ID: 22B5C6D66A38B06C

View file

@ -130,7 +130,9 @@ describe("Bridge lifecycle", () => {
expect(output).toContain('"type":"ready"'); expect(output).toContain('"type":"ready"');
// send connect message // send connect message
bridge.stdin.write(`${JSON.stringify({ type: "connect", room: "test" })}\n`); bridge.stdin.write(
`${JSON.stringify({ type: "connect", room: "test" })}\n`,
);
// wait for connected message // wait for connected message
({ value } = await reader.read()); ({ value } = await reader.read());
@ -166,14 +168,18 @@ describe("Bridge lifecycle", () => {
await reader.read(); await reader.read();
// connect to room // connect to room
bridge.stdin.write(`${JSON.stringify({ type: "connect", room: "content-test" })}\n`); bridge.stdin.write(
`${JSON.stringify({ type: "connect", room: "content-test" })}\n`,
);
// wait for connected and peers messages // wait for connected and peers messages
await reader.read(); await reader.read();
await reader.read(); await reader.read();
// send content // send content
bridge.stdin.write(`${JSON.stringify({ type: "content", text: "hello world" })}\n`); bridge.stdin.write(
`${JSON.stringify({ type: "content", text: "hello world" })}\n`,
);
// give it time to process // give it time to process
await new Promise((r) => setTimeout(r, 100)); await new Promise((r) => setTimeout(r, 100));