diff options
author | Matt Mastracci <matthew@mastracci.com> | 2024-02-27 08:05:57 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-27 08:05:57 -0700 |
commit | 47c2a63d872886ae1d0576f3cbf630151c8ff129 (patch) | |
tree | 85ba7273598467de211fab37c4cb6dcbd87fc889 /tests/testdata/repl/promise_rejection.ts | |
parent | f1a691274e59d3f6a1aad19d1aec02a0ffaa51d2 (diff) |
chore: bump deno_core (#22596)
Migrations:
- snapshot code updated
- runtime stats API tweaks
Diffstat (limited to 'tests/testdata/repl/promise_rejection.ts')
-rw-r--r-- | tests/testdata/repl/promise_rejection.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/testdata/repl/promise_rejection.ts b/tests/testdata/repl/promise_rejection.ts new file mode 100644 index 000000000..c6c3bcbd0 --- /dev/null +++ b/tests/testdata/repl/promise_rejection.ts @@ -0,0 +1,6 @@ +// Regression test for https://github.com/denoland/deno/issues/22592 +// deno-lint-ignore require-await +async function rejects() { + return Promise.reject(); +} +await rejects(); |