summaryrefslogtreecommitdiff
path: root/tests/testdata/workers/async_error.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdata/workers/async_error.ts')
-rw-r--r--tests/testdata/workers/async_error.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/testdata/workers/async_error.ts b/tests/testdata/workers/async_error.ts
new file mode 100644
index 000000000..154b957b1
--- /dev/null
+++ b/tests/testdata/workers/async_error.ts
@@ -0,0 +1,4 @@
+// deno-lint-ignore require-await
+(async () => {
+ throw new Error("bar");
+})();