summaryrefslogtreecommitdiff
path: root/cli/tests/integration/info_tests.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2021-08-11 10:20:47 -0400
committerGitHub <noreply@github.com>2021-08-11 10:20:47 -0400
commit15a763152f9d392cb80692262f8de5ef8ae15495 (patch)
treefcd1a59777f95920bf3502519983d6cc0d882a9a /cli/tests/integration/info_tests.rs
parenta0285e2eb88f6254f6494b0ecd1878db3a3b2a58 (diff)
chore: move test files to testdata directory (#11601)
Diffstat (limited to 'cli/tests/integration/info_tests.rs')
-rw-r--r--cli/tests/integration/info_tests.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/cli/tests/integration/info_tests.rs b/cli/tests/integration/info_tests.rs
index af0f259ea..9e7dbda5b 100644
--- a/cli/tests/integration/info_tests.rs
+++ b/cli/tests/integration/info_tests.rs
@@ -7,12 +7,12 @@ use test_util as util;
#[test]
fn info_with_compiled_source() {
let _g = util::http_server();
- let module_path = "http://127.0.0.1:4545/cli/tests/048_media_types_jsx.ts";
+ let module_path = "http://127.0.0.1:4545/048_media_types_jsx.ts";
let t = TempDir::new().expect("tempdir fail");
let mut deno = util::deno_cmd()
.env("DENO_DIR", t.path())
- .current_dir(util::root_path())
+ .current_dir(util::testdata_path())
.arg("cache")
.arg(&module_path)
.spawn()
@@ -23,7 +23,7 @@ fn info_with_compiled_source() {
let output = util::deno_cmd()
.env("DENO_DIR", t.path())
.env("NO_COLOR", "1")
- .current_dir(util::root_path())
+ .current_dir(util::testdata_path())
.arg("info")
.arg(&module_path)
.output()
@@ -37,7 +37,7 @@ fn info_with_compiled_source() {
}
itest!(_022_info_flag_script {
- args: "info http://127.0.0.1:4545/cli/tests/019_media_types.ts",
+ args: "info http://127.0.0.1:4545/019_media_types.ts",
output: "022_info_flag_script.out",
http_server: true,
});
@@ -68,7 +68,7 @@ itest!(info_json_location {
});
itest!(_049_info_flag_script_jsx {
- args: "info http://127.0.0.1:4545/cli/tests/048_media_types_jsx.ts",
+ args: "info http://127.0.0.1:4545/048_media_types_jsx.ts",
output: "049_info_flag_script_jsx.out",
http_server: true,
});