diff options
author | 2023-01-31 17:55:16 -0800 | |
---|---|---|
committer | 2023-01-31 17:55:16 -0800 | |
commit | cc4326cd829decc95d1f1f23998f97705637e04b (patch) | |
tree | 9ccaa829b6d48af521d5e5fcdbabc0dac8d186af /test/bun.js/console/console-iterator.test.js | |
parent | c57b37d29f9d04780c7f7917789cf8b424710d23 (diff) | |
download | bun-cc4326cd829decc95d1f1f23998f97705637e04b.tar.gz bun-cc4326cd829decc95d1f1f23998f97705637e04b.tar.zst bun-cc4326cd829decc95d1f1f23998f97705637e04b.zip |
Re-run prettier after changes
Diffstat (limited to 'test/bun.js/console/console-iterator.test.js')
-rw-r--r-- | test/bun.js/console/console-iterator.test.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/bun.js/console/console-iterator.test.js b/test/bun.js/console/console-iterator.test.js index 533f084e1..053e4382d 100644 --- a/test/bun.js/console/console-iterator.test.js +++ b/test/bun.js/console/console-iterator.test.js @@ -51,14 +51,12 @@ describe("should work for streaming input", () => { const { stdout, stdin } = proc; stdin.write(input.slice(0, (input.length / 2) | 0)); stdin.flush(); - await new Promise((resolve) => setTimeout(resolve, 1)); + await new Promise(resolve => setTimeout(resolve, 1)); stdin.write(input.slice((input.length / 2) | 0)); stdin.flush(); stdin.end(); - expect(await new Response(stdout).text()).toBe( - input.replaceAll("\n", ""), - ); + expect(await new Response(stdout).text()).toBe(input.replaceAll("\n", "")); proc.kill(0); }); } |