aboutsummaryrefslogtreecommitdiff
path: root/test/bun.js/microtask.test.js
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-01-31 17:55:16 -0800
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-01-31 17:55:16 -0800
commitcc4326cd829decc95d1f1f23998f97705637e04b (patch)
tree9ccaa829b6d48af521d5e5fcdbabc0dac8d186af /test/bun.js/microtask.test.js
parentc57b37d29f9d04780c7f7917789cf8b424710d23 (diff)
downloadbun-cc4326cd829decc95d1f1f23998f97705637e04b.tar.gz
bun-cc4326cd829decc95d1f1f23998f97705637e04b.tar.zst
bun-cc4326cd829decc95d1f1f23998f97705637e04b.zip
Re-run prettier after changes
Diffstat (limited to 'test/bun.js/microtask.test.js')
-rw-r--r--test/bun.js/microtask.test.js10
1 files changed, 2 insertions, 8 deletions
diff --git a/test/bun.js/microtask.test.js b/test/bun.js/microtask.test.js
index dba84f36c..f41159cfa 100644
--- a/test/bun.js/microtask.test.js
+++ b/test/bun.js/microtask.test.js
@@ -58,10 +58,7 @@ it("queueMicrotask", 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");
}
{
@@ -72,9 +69,6 @@ it("queueMicrotask", 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");
}
});