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/node-stream.test.js | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'test/bun.js/node-stream.test.js') diff --git a/test/bun.js/node-stream.test.js b/test/bun.js/node-stream.test.js index afa1867b6..6bff28b94 100644 --- a/test/bun.js/node-stream.test.js +++ b/test/bun.js/node-stream.test.js @@ -1,14 +1,8 @@ import { expect, describe, it } from "bun:test"; -import { - Readable, - Writable, - Duplex, - Transform, - PassThrough, -} from "node:stream"; +import { Readable, Writable, Duplex, Transform, PassThrough } from "node:stream"; describe("Readable", () => { - it("should be able to be created without _construct method defined", (done) => { + it("should be able to be created without _construct method defined", done => { const readable = new Readable({ read() { this.push("Hello World!\n"); @@ -17,7 +11,7 @@ describe("Readable", () => { }); expect(readable instanceof Readable).toBe(true); let data = ""; - readable.on("data", (chunk) => { + readable.on("data", chunk => { data += chunk.toString(); }); readable.on("end", () => { @@ -26,7 +20,7 @@ describe("Readable", () => { }); }); - it("should be able to be piped via .pipe", (done) => { + it("should be able to be piped via .pipe", done => { const readable = new Readable({ read() { this.push("Hello World!"); -- cgit v1.2.3