From cc4326cd829decc95d1f1f23998f97705637e04b Mon Sep 17 00:00:00 2001 From: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Date: Tue, 31 Jan 2023 17:55:16 -0800 Subject: Re-run prettier after changes --- test/bun.js/spawn-streaming-stdin.test.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'test/bun.js/spawn-streaming-stdin.test.ts') diff --git a/test/bun.js/spawn-streaming-stdin.test.ts b/test/bun.js/spawn-streaming-stdin.test.ts index a71a0e2a9..74bf3dbc9 100644 --- a/test/bun.js/spawn-streaming-stdin.test.ts +++ b/test/bun.js/spawn-streaming-stdin.test.ts @@ -38,7 +38,7 @@ test("spawn can write to stdin multiple chunks", async () => { while (true) { proc.stdin.write("Wrote to stdin!\n"); inCounter++; - await new Promise((resolve) => setTimeout(resolve, 8)); + await new Promise(resolve => setTimeout(resolve, 8)); if (inCounter === 4) break; } @@ -46,9 +46,7 @@ test("spawn can write to stdin multiple chunks", async () => { })(); await Promise.all([prom, prom2]); - expect(Buffer.concat(chunks).toString().trim()).toBe( - "Wrote to stdin!\n".repeat(4).trim(), - ); + expect(Buffer.concat(chunks).toString().trim()).toBe("Wrote to stdin!\n".repeat(4).trim()); await proc.exited; })(); } -- cgit v1.2.3