1 2 3 4 5 6 7
// Don't assert when settlePromiseNow() is called on an async-function promise. var promise = async function(){ await 0; }(); try { settlePromiseNow(promise); } catch {}