1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-27 17:49:08 -05:00
denoland-deno/cli/tests/testdata/bench
Bartek Iwańczuk f526513d74
feat(core): show unresolved promise origin (#16650)
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-11-28 23:07:23 +01:00
..
collect
filter
allow_all.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
allow_all.ts
allow_none.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
allow_none.ts
check_local_by_default.out feat: subcommands type-check only local files by default (#14623) 2022-05-17 23:53:42 +02:00
check_local_by_default.ts feat: subcommands type-check only local files by default (#14623) 2022-05-17 23:53:42 +02:00
check_local_by_default2.out feat: subcommands type-check only local files by default (#14623) 2022-05-17 23:53:42 +02:00
check_local_by_default2.ts feat: subcommands type-check only local files by default (#14623) 2022-05-17 23:53:42 +02:00
clear_timeout.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
clear_timeout.ts
collect.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
exit_sanitizer.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
exit_sanitizer.ts
fail.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
fail.ts
file_protocol.out fix(test/bench): accept file protocol module specifier CLI args (#14429) 2022-05-02 15:43:03 -04:00
file_protocol.ts fix(test/bench): accept file protocol module specifier CLI args (#14429) 2022-05-02 15:43:03 -04:00
filter.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
finally_timeout.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
finally_timeout.ts
group_baseline.out chore: fix flaky integration::bench::multifile_summary test (#14771) 2022-06-02 03:03:28 +02:00
group_baseline.ts chore: fix flaky integration::bench::multifile_summary test (#14771) 2022-06-02 03:03:28 +02:00
ignore.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
ignore.ts
ignore_permissions.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
ignore_permissions.ts
interval.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
interval.ts
load_unload.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
load_unload.ts
meta.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
meta.ts
multifile_summary.out chore: fix flaky integration::bench::multifile_summary test (#14771) 2022-06-02 03:03:28 +02:00
no_check.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
no_check.ts
no_color.ts
no_prompt_by_default.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
no_prompt_by_default.ts
no_prompt_with_denied_perms.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
no_prompt_with_denied_perms.ts
only.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
only.ts
overloads.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
overloads.ts
pass.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
pass.ts
quiet.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
quiet.ts
recursive_permissions_pledge.js perf(ops): Monomorphic sync op calls (#15337) 2022-08-11 15:56:56 +02:00
unhandled_rejection.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
unhandled_rejection.ts
unresolved_promise.out feat(core): show unresolved promise origin (#16650) 2022-11-28 23:07:23 +01:00
unresolved_promise.ts