diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2020-10-23 22:05:41 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-23 22:05:41 +1100 |
commit | ab898556a490d78d93e806ea3ee31147117102e3 (patch) | |
tree | 48b724d534f0b8b112f0e5d7ae23fd9c3a54dee4 /cli/tests/integration_tests.rs | |
parent | a3024a6dc5c27317049a39ad8cb3e54368429dbf (diff) |
refactor(cli): move bundle check to new infrastructure (#8071)
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"); |