diff options
author | Bartek Iwańczuk <biwanczuk@gmail.com> | 2023-12-15 11:27:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-15 10:27:10 +0000 |
commit | 62e3f5060ef9cc6a31b3e496dd15548c0abd07e6 (patch) | |
tree | e03148c86caebe8b23a8d5f04f9df9357769f7fb /cli/tests/integration/publish_tests.rs | |
parent | a1870c70a1adcd58798541aa965c915afa6f6c89 (diff) |
refactor: check if scope and package exist before publish (#21575)
Signed-off-by: Bartek Iwańczuk <biwanczuk@gmail.com>
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
Diffstat (limited to 'cli/tests/integration/publish_tests.rs')
-rw-r--r-- | cli/tests/integration/publish_tests.rs | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/cli/tests/integration/publish_tests.rs b/cli/tests/integration/publish_tests.rs index 6a40eabf6..9ba0a00c6 100644 --- a/cli/tests/integration/publish_tests.rs +++ b/cli/tests/integration/publish_tests.rs @@ -3,16 +3,10 @@ static TEST_REGISTRY_URL: &str = "http://127.0.0.1:4250"; pub fn env_vars_for_registry() -> Vec<(String, String)> { - vec![ - ( - "DENO_REGISTRY_URL".to_string(), - TEST_REGISTRY_URL.to_string(), - ), - ( - "DENO_REGISTRY_API_URL".to_string(), - TEST_REGISTRY_URL.to_string(), - ), - ] + vec![( + "DENO_REGISTRY_URL".to_string(), + TEST_REGISTRY_URL.to_string(), + )] } itest!(no_token { |