summaryrefslogtreecommitdiff
path: root/cli/tests/integration/install_tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/integration/install_tests.rs')
-rw-r--r--cli/tests/integration/install_tests.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/tests/integration/install_tests.rs b/cli/tests/integration/install_tests.rs
index e5229df8f..ff93c157f 100644
--- a/cli/tests/integration/install_tests.rs
+++ b/cli/tests/integration/install_tests.rs
@@ -16,7 +16,7 @@ fn installer_test_local_module_run() {
.arg("echo_test")
.arg("--root")
.arg(temp_dir.path())
- .arg(util::tests_path().join("echo.ts"))
+ .arg(util::testdata_path().join("echo.ts"))
.arg("hello")
.spawn()
.unwrap()
@@ -47,13 +47,13 @@ fn installer_test_remote_module_run() {
let bin_dir = temp_dir.path().join("bin");
std::fs::create_dir(&bin_dir).unwrap();
let status = util::deno_cmd()
- .current_dir(util::root_path())
+ .current_dir(util::testdata_path())
.arg("install")
.arg("--name")
.arg("echo_test")
.arg("--root")
.arg(temp_dir.path())
- .arg("http://localhost:4545/cli/tests/echo.ts")
+ .arg("http://localhost:4545/echo.ts")
.arg("hello")
.spawn()
.unwrap()