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