diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2024-02-14 18:30:44 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-14 18:30:44 +0000 |
commit | 012a9d8aebd39cd215d404fe75c3ee22b040689e (patch) | |
tree | c40c20a514dd790393742bbeb6bddc72b3046ad0 /test_util/src/lib.rs | |
parent | b5d122de32d075bc0a5b07ad18e9bcc1d2c07396 (diff) |
chore: rename DENO_REGISTRY_URL to JSR_URL (#22414)
Diffstat (limited to 'test_util/src/lib.rs')
-rw-r--r-- | test_util/src/lib.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test_util/src/lib.rs b/test_util/src/lib.rs index 539f4456d..e4549154d 100644 --- a/test_util/src/lib.rs +++ b/test_util/src/lib.rs @@ -59,7 +59,7 @@ pub fn env_vars_for_npm_tests() -> Vec<(String, String)> { pub fn env_vars_for_jsr_tests() -> Vec<(String, String)> { vec![ - ("DENO_REGISTRY_URL".to_string(), jsr_registry_url()), + ("JSR_URL".to_string(), jsr_registry_url()), ("NO_COLOR".to_string(), "1".to_string()), ] } @@ -114,7 +114,7 @@ pub fn jsr_registry_url() -> String { } pub fn jsr_registry_unset_url() -> String { - "http://DENO_REGISTRY_URL.is.unset".to_string() + "http://JSR_URL.is.unset".to_string() } pub fn std_path() -> PathRef { @@ -463,7 +463,7 @@ pub fn deno_cmd_with_deno_dir(deno_dir: &TempDir) -> TestCommandBuilder { TestCommandBuilder::new(deno_dir.clone()) .env("DENO_DIR", deno_dir.path()) .env("NPM_CONFIG_REGISTRY", npm_registry_unset_url()) - .env("DENO_REGISTRY_URL", jsr_registry_unset_url()) + .env("JSR_URL", jsr_registry_unset_url()) } pub fn run_powershell_script_file( |