From 62e3f5060ef9cc6a31b3e496dd15548c0abd07e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Fri, 15 Dec 2023 11:27:10 +0100 Subject: refactor: check if scope and package exist before publish (#21575) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bartek IwaƄczuk Co-authored-by: Luca Casonato --- cli/tests/integration/publish_tests.rs | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'cli/tests/integration/publish_tests.rs') 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 { -- cgit v1.2.3