summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/test/unresolved_promise.out
AgeCommit message (Collapse)Author
2022-11-28feat(core): show unresolved promise origin (#16650)Bartek IwaƄczuk
This commit updates unhelpful messages that are raised when event loop stalls on unresolved top-level promises. Instead of "Module evaluation is still pending but there are no pending ops or dynamic imports. This situation is often caused by unresolved promises." and "Dynamically imported module evaluation is still pending but there are no pending ops. This situation is often caused by unresolved promises." we are now printing a message like: error: Top-level await promise never resolved [SOURCE LINE] ^ at [FUNCTION NAME] ([FILENAME]) eg: error: Top-level await promise never resolved await new Promise((_resolve, _reject) => {}); ^ at <anonymous> (file:///Users/ib/dev/deno/cli/tests/testdata/test/unresolved_promise.ts:1:1) Co-authored-by: David Sherret <dsherret@users.noreply.github.com>
2022-06-14feat(test): update test summary report (#14629)Mark Ladyshau
2021-12-01chore: Fix typo in no-pending-ops error message (#12948)KnorpelSenf
2021-09-04feat(cli): close test worker once all tests complete (#11727)Casper Beyer
2021-08-11chore: move test files to testdata directory (#11601)David Sherret