From 47c2a63d872886ae1d0576f3cbf630151c8ff129 Mon Sep 17 00:00:00 2001 From: Matt Mastracci Date: Tue, 27 Feb 2024 08:05:57 -0700 Subject: chore: bump deno_core (#22596) Migrations: - snapshot code updated - runtime stats API tweaks --- tests/testdata/repl/promise_rejection.ts | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/testdata/repl/promise_rejection.ts (limited to 'tests/testdata/repl') 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(); -- cgit v1.2.3