1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-22 15:10:44 -05:00
denoland-deno/cli/tests/testdata
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
..
assets refactor: move out test files from root testdata directory into sub directories (#15949) 2022-09-19 10:32:21 -04:00
bench feat(core): show unresolved promise origin (#16650) 2022-11-28 23:07:23 +01:00
benches refactor: move out test files from root testdata directory into sub directories (#15949) 2022-09-19 10:32:21 -04:00
bundle refactor: move out test files from root testdata directory into sub directories (#15949) 2022-09-19 10:32:21 -04:00
cache perf: more efficient deno cache and npm package info usage (#16592) 2022-11-11 11:33:57 -05:00
cert feat: support npm specifiers in deno info for display text output only (#16470) 2022-10-28 16:19:55 -04:00
check fix(typescript): allow synthetic default imports when using ModuleKind.ESNext (#16438) 2022-10-27 08:12:40 -04:00
commonjs feat(unstable): initial support for npm specifiers (#15484) 2022-08-20 11:31:33 -04:00
compile refactor: move out test files from root testdata directory into sub directories (#15949) 2022-09-19 10:32:21 -04:00
coverage test: don't use remote std for tests (#16631) 2022-11-15 17:21:25 +01:00
doc chore: update deno_doc (#16515) 2022-11-02 18:51:37 +01:00
dynamic_import refactor: integrate deno_graph into CLI (#12369) 2021-10-11 08:26:22 +11:00
encoding
eval refactor: move out test files from root testdata directory into sub directories (#15949) 2022-09-19 10:32:21 -04:00
fmt refactor: move out test files from root testdata directory into sub directories (#15949) 2022-09-19 10:32:21 -04:00
import_assertions upgrade: v8 10.4.132.5 (#14874) 2022-06-15 12:30:19 -04:00
import_maps
info feat(unstable/npm): deno info --json support for npm specifiers (#16472) 2022-10-31 10:25:46 -04:00
inspector fix(inspector): ensure console methods provided by inspector are available (#16724) 2022-11-22 02:17:14 +01:00
install feat: subcommands type-check only local files by default (#14623) 2022-05-17 23:53:42 +02:00
jsx test: don't use lock file in JSX tests (#16639) 2022-11-15 17:20:40 +01:00
lint feat(lint): add a report lint config setting (#16045) 2022-10-25 14:21:20 +02:00
lsp chore: improve built-in API documentation (#16158) 2022-10-26 15:53:48 +02:00
malformed_config feat: auto-discover config file (#13313) 2022-01-17 20:10:17 -05:00
module_graph
npm fix(npm): ensure npm package downloaded once per run when using --reload (#16842) 2022-11-27 13:25:08 -05:00
repl refactor: move out test files from root testdata directory into sub directories (#15949) 2022-09-19 10:32:21 -04:00
run feat(core): show unresolved promise origin (#16650) 2022-11-28 23:07:23 +01:00
runtime refactor: move out test files from root testdata directory into sub directories (#15949) 2022-09-19 10:32:21 -04:00
subdir refactor: move out test files from root testdata directory into sub directories (#15949) 2022-09-19 10:32:21 -04:00
task fix(task): output encoding issues on windows (#16794) 2022-11-24 19:37:02 -05:00
test feat(core): show unresolved promise origin (#16650) 2022-11-28 23:07:23 +01:00
tls
tsc
tsc2
type_definitions
types refactor: move out test files from root testdata directory into sub directories (#15949) 2022-09-19 10:32:21 -04:00
vendor feat(vendor): support using an existing import map (#14836) 2022-06-14 10:05:37 -04:00
webcrypto fix(ext/crypto): decode id-RSASSA-PSS with default params (#12147) 2021-10-01 11:14:16 +02:00
webgpu refactor: move out test files from root testdata directory into sub directories (#15949) 2022-09-19 10:32:21 -04:00
workers feat(unstable): Deno.setRaw -> Deno.stdin.setRaw (#15797) 2022-09-28 15:03:56 +02:00
cat.ts
echo.ts
echo_server.ts
error_cause_recursive_aggregate.ts feat(cli): show error cause recursion information (#16384) 2022-10-26 15:37:45 +02:00
error_cause_recursive_aggregate.ts.out feat(cli): show error cause recursion information (#16384) 2022-10-26 15:37:45 +02:00
error_cause_recursive_tail.ts fix: add error cause in recursive cause tail (#16306) 2022-10-16 21:16:46 +02:00
error_cause_recursive_tail.ts.out feat(cli): show error cause recursion information (#16384) 2022-10-26 15:37:45 +02:00
navigator_language.ts feat: introduce navigator.language (#12322) 2022-10-18 15:33:35 +02:00
navigator_languages.ts feat: introduce navigator.language (#12322) 2022-10-18 15:33:35 +02:00
symlink_to_subdir