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/process-nexttick.test.js | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'test/bun.js/process-nexttick.test.js') diff --git a/test/bun.js/process-nexttick.test.js b/test/bun.js/process-nexttick.test.js index a1b1b84b0..becf3c236 100644 --- a/test/bun.js/process-nexttick.test.js +++ b/test/bun.js/process-nexttick.test.js @@ -59,10 +59,7 @@ it("process.nextTick", async () => { passed = exception instanceof TypeError; } - if (!passed) - throw new Error( - "queueMicrotask should throw a TypeError if the argument is not a function", - ); + if (!passed) throw new Error("queueMicrotask should throw a TypeError if the argument is not a function"); } { @@ -73,10 +70,7 @@ it("process.nextTick", async () => { passed = exception instanceof TypeError; } - if (!passed) - throw new Error( - "queueMicrotask should throw a TypeError if the argument is empty", - ); + if (!passed) throw new Error("queueMicrotask should throw a TypeError if the argument is empty"); } }); @@ -84,8 +78,7 @@ it("process.nextTick 2 args", async () => { await new Promise((resolve, reject) => { process.nextTick( (first, second) => { - if (first !== 12345 || second !== "hello") - reject(new Error("process.nextTick called with wrong arguments")); + if (first !== 12345 || second !== "hello") reject(new Error("process.nextTick called with wrong arguments")); resolve(true); }, 12345, -- cgit v1.2.3