diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2021-10-01 10:30:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-01 11:30:55 +0200 |
commit | b354eaa2475a16f66e99efc82bebf5bd620406e4 (patch) | |
tree | aa8d15ba548032e44834bb736b1d32882bf60688 /cli/tests/testdata/workers/async_error.ts | |
parent | c0b6c0eea59f0bea0ab12b2949a7c37c1a774293 (diff) |
fix(runtime/js/workers): throw errors instead of using an op (#12249)
Diffstat (limited to 'cli/tests/testdata/workers/async_error.ts')
-rw-r--r-- | cli/tests/testdata/workers/async_error.ts | 4 |
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"); +})(); |