1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-20 22:34:46 -05:00
denoland-deno/tests/testdata/repl/promise_rejection.ts

7 lines
176 B
TypeScript
Raw Normal View History

// Regression test for https://github.com/denoland/deno/issues/22592
// deno-lint-ignore require-await
async function rejects() {
return Promise.reject();
}
await rejects();