diff options
Diffstat (limited to 'cli/tests/integration_tests.rs')
-rw-r--r-- | cli/tests/integration_tests.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs index b9264aa0f..11240e71b 100644 --- a/cli/tests/integration_tests.rs +++ b/cli/tests/integration_tests.rs @@ -1017,11 +1017,12 @@ fn bundle_js() { #[test] fn bundle_dynamic_import() { + let _g = util::http_server(); let dynamic_import = - util::root_path().join("cli/tests/subdir/subdir2/dynamic_import.ts"); + util::root_path().join("cli/tests/bundle_dynamic_import.ts"); assert!(dynamic_import.is_file()); let t = TempDir::new().expect("tempdir fail"); - let bundle = t.path().join("dynamic_import.bundle.js"); + let bundle = t.path().join("bundle_dynamic_import.bundle.js"); let mut deno = util::deno_cmd() .current_dir(util::root_path()) .arg("bundle") @@ -1036,6 +1037,8 @@ fn bundle_dynamic_import() { let output = util::deno_cmd() .current_dir(util::root_path()) .arg("run") + .arg("--allow-net") + .arg("--quiet") .arg(&bundle) .output() .expect("failed to spawn script"); |