fix(test): explain pending-promise deadlock and that --trace-leaks can't help
When a test (or a test lifecycle hook) awaits a promise that can never
settle, deno_core's deadlock detector reports the bare message
"Promise resolution is still pending but the event loop has already
resolved." with no stack trace or pointer. `--trace-leaks` is no help
because nothing was leaked: there is simply no pending op left that
could resolve the promise, so users are left flying blind (see
denoland/deno#33852).
Enrich the diagnostic with actionable guidance describing the likely
cause and clarifying why `--trace-leaks` cannot pinpoint it. The same
guidance is now applied both to the per-test failure and to the bare
top-level error that surfaces when the dangling promise lives in a
`beforeAll`/`afterAll` hook (i.e. when all tests pass but the process
still exits with the error).
Co-Authored-By: Divy Srivastava <me@littledivy.com>