1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-25 16:49:18 -05:00
denoland-deno/cli/tests/integration
Andreu Botella d3e107768a fix(modules): Immediately resolve follow-up dyn imports to a dyn imported module (#14958)
When a dynamically imported module gets resolved, any code that comes after an
await import() to that module will continue running. However, if that is the
last code in the evaluation of another dynamically imported module, that second
module will not resolve until the next iteration of the event loop, even though
it does not depend on the event loop at all.

When the event loop is being blocked by a long-running operation, such as a
long-running timer, or by an async op that might never end, such as with workers
or BroadcastChannels, that will result in the second dynamically imported module
not being resolved for a while, or ever.

This change fixes this by running the dynamic module loading steps in a loop
until no more dynamic modules can be resolved.
2022-06-30 14:12:31 -04:00
..
bench_tests.rs feat: subcommands type-check only local files by default (#14623) 2022-05-17 23:53:42 +02:00
bundle_tests.rs chore(test_util): add new string assertion macros (#14928) 2022-06-21 15:25:07 -04:00
cache_tests.rs feat: no type-check by default (#14691) 2022-06-13 23:13:16 +02:00
check_tests.rs fix(check): ignore TS2306 (#14940) 2022-06-23 12:18:32 -04:00
compat_tests.rs chore: update test_util/std/ submodule (#14595) 2022-05-13 17:08:02 +02:00
compile_tests.rs feat: subcommands type-check only local files by default (#14623) 2022-05-17 23:53:42 +02:00
coverage_tests.rs fix(coverage): do not report transpiled files with no lines (#14699) 2022-05-22 10:45:22 -04:00
doc_tests.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
eval_tests.rs feat: no type-check by default (#14691) 2022-06-13 23:13:16 +02:00
fmt_tests.rs fix(fmt): ignore node_modules directory (#14943) 2022-06-23 01:17:49 +02:00
info_tests.rs fix(cli): add config flag to deno info (#14706) 2022-06-13 20:09:04 +02:00
inspector_tests.rs feat: no type-check by default (#14691) 2022-06-13 23:13:16 +02:00
install_tests.rs chore(test_util): add new string assertion macros (#14928) 2022-06-21 15:25:07 -04:00
lint_tests.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
lsp_tests.rs feat: update to TypeScript 4.7 (#14242) 2022-06-01 10:19:18 +10:00
mod.rs feat: no type-check by default (#14691) 2022-06-13 23:13:16 +02:00
repl_tests.rs chore(test_util): add new string assertion macros (#14928) 2022-06-21 15:25:07 -04:00
run_tests.rs fix(modules): Immediately resolve follow-up dyn imports to a dyn imported module (#14958) 2022-06-30 14:12:31 -04:00
task_tests.rs feat(task): add --cwd flag for configuring the working directory (#14823) 2022-06-08 15:30:16 -06:00
test_tests.rs feat(test): update test summary report (#14629) 2022-06-14 20:51:49 +02:00
upgrade_tests.rs chore(tests): use custom temp dir creation for the tests (#14153) 2022-04-01 11:15:37 -04:00
vendor_tests.rs feat(vendor): support using an existing import map (#14836) 2022-06-14 10:05:37 -04:00
watcher_tests.rs chore(test_util): add new string assertion macros (#14928) 2022-06-21 15:25:07 -04:00
worker_tests.rs refactor: Remove PrettyJsError and js_error_create_fn (#14378) 2022-04-27 01:06:10 +02:00