From c824eb5817db675be4d9966a0d1a43d90dfa61fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Sat, 25 Jan 2020 18:53:16 +0100 Subject: refactor: Modules and Loader trait (#3791) * move is_dyn_import argument from Loader::resolve to Loader::load - it was always kind of strange that resolve() checks permissions. * change argument type from &str to &ModuleSpecifier where applicable --- cli/tests/integration_tests.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cli/tests/integration_tests.rs') diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs index 3e5073b45..260ded177 100644 --- a/cli/tests/integration_tests.rs +++ b/cli/tests/integration_tests.rs @@ -385,6 +385,12 @@ itest!(_052_no_remote_flag { http_server: true, }); +itest!(_054_info_local_imports { + args: "info 005_more_imports.ts", + output: "054_info_local_imports.out", + exit_code: 0, +}); + itest!(lock_check_ok { args: "run --lock=lock_check_ok.json http://127.0.0.1:4545/cli/tests/003_relative_import.ts", output: "003_relative_import.ts.out", -- cgit v1.2.3