mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-05-19 17:49:04 +00:00
This catches errors that occur within async tests so that we fail faster rather than timing out due to `done()` not being called. We use `Promise.resolve()` because `f` isn't guaranteed to be an async function.