1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-24 08:09: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 feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
filter feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
allow_all.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
allow_all.ts fix: actually don't inherit runtime permissions (#14024) 2022-03-20 22:46:39 +01:00
allow_none.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
allow_none.ts feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
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 feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
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 feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
fail.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
fail.ts feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
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 feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
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 feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
ignore_permissions.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
ignore_permissions.ts feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
interval.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
interval.ts feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
load_unload.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
load_unload.ts feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
meta.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
meta.ts feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
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 feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
no_color.ts feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
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 feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
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 feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
only.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
only.ts feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
overloads.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
overloads.ts feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
pass.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
pass.ts feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
quiet.out feat(bench): update API, new console reporter (#14305) 2022-04-20 21:06:39 +02:00
quiet.ts feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
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 feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
unresolved_promise.out feat(core): show unresolved promise origin (#16650) 2022-11-28 23:07:23 +01:00
unresolved_promise.ts feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00