diff options
Diffstat (limited to 'tests/testdata/run/queue_microtask_error.ts')
-rw-r--r-- | tests/testdata/run/queue_microtask_error.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/testdata/run/queue_microtask_error.ts b/tests/testdata/run/queue_microtask_error.ts new file mode 100644 index 000000000..b2e9642c5 --- /dev/null +++ b/tests/testdata/run/queue_microtask_error.ts @@ -0,0 +1,5 @@ +queueMicrotask(() => { + throw new Error("foo"); +}); +console.log(1); +Promise.resolve().then(() => console.log(2)); |