1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-27 01:29:14 -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();