aboutsummaryrefslogtreecommitdiff
path: root/test/bun.js/microtask.test.js
diff options
context:
space:
mode:
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");
}
});