summaryrefslogtreecommitdiff
path: root/tests/async_error.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/async_error.ts')
-rw-r--r--tests/async_error.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/async_error.ts b/tests/async_error.ts
index 12dee11eb..7ce25d0cb 100644
--- a/tests/async_error.ts
+++ b/tests/async_error.ts
@@ -1,9 +1,8 @@
-
console.log("hello");
const foo = async () => {
console.log("before error");
throw Error("error");
-}
+};
foo();
console.log("world");