diff --git a/adapters/vim/bridge.test.ts b/adapters/vim/bridge.test.ts index 49b2a9a..3452c47 100644 --- a/adapters/vim/bridge.test.ts +++ b/adapters/vim/bridge.test.ts @@ -130,7 +130,9 @@ describe("Bridge lifecycle", () => { expect(output).toContain('"type":"ready"'); // 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 ({ value } = await reader.read()); @@ -166,14 +168,18 @@ describe("Bridge lifecycle", () => { await reader.read(); // 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 await reader.read(); await reader.read(); // 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 await new Promise((r) => setTimeout(r, 100));