1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
denoland-deno/cli/tests/integration
Leo Kettmeir b4aa153097
refactor: Use ES modules for internal runtime code (#17648)
This PR refactors all internal js files (except core) to be written as
ES modules.
`__bootstrap`has been mostly replaced with static imports in form in
`internal:[path to file from repo root]`.
To specify if files are ESM, an `esm` method has been added to
`Extension`, similar to the `js` method.
A new ModuleLoader called `InternalModuleLoader` has been added to
enable the loading of internal specifiers, which is used in all
situations except when a snapshot is only loaded, and not a new one is
created from it.

---------

Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2023-02-07 20:22:46 +01:00
..
bench_tests.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00
bundle_tests.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00
cache_tests.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00
cert_tests.rs chore: forward v1.30.3 release commit to main (#17677) 2023-02-07 04:15:38 +00:00
check_tests.rs feat: support node built-in module imports (#17264) 2023-01-24 09:05:54 -05:00
compile_tests.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00
coverage_tests.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
doc_tests.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00
eval_tests.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00
flags_tests.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00
fmt_tests.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
info_tests.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00
init_tests.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00
inspector_tests.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
install_tests.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00
js_unit_tests.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00
lint_tests.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00
lsp_tests.rs fix: revert lsp related internal specifiers (#17673) 2023-02-06 22:49:49 +01:00
mod.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00
npm_tests.rs fix(lockfile): emit trailing newline (#17618) 2023-02-01 15:57:02 -05:00
repl_tests.rs fix(ext/console): log class for class constructor (#17615) 2023-02-05 00:34:36 +01:00
run_tests.rs refactor: Use ES modules for internal runtime code (#17648) 2023-02-07 20:22:46 +01:00
task_tests.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00
test_tests.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00
upgrade_tests.rs chore: use rustfmt imports_granularity option (#17421) 2023-01-14 23:18:58 -05:00
vendor_tests.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
watcher_tests.rs refactor: reland "preserve ProcState::file_fetcher between restarts" (#17636) 2023-02-03 20:15:16 +01:00
worker_tests.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00