From 0709c051f83c181206f6653396f5428df66ed74f Mon Sep 17 00:00:00 2001 From: David Sherret Date: Mon, 18 Sep 2023 10:46:44 -0400 Subject: feat(unstable): package manager (#20517) Adds an experimental unstable built-in package manager to Deno, but it is currently not usable because the registry infrastructure hasn't been setup and it points to a non-existent url by default. The default registry url can be configured via the `DENO_REGISTRY_URL` environment variable. --- cli/tests/integration/compile_tests.rs | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'cli/tests/integration/compile_tests.rs') diff --git a/cli/tests/integration/compile_tests.rs b/cli/tests/integration/compile_tests.rs index f43b1cff9..657d17d7d 100644 --- a/cli/tests/integration/compile_tests.rs +++ b/cli/tests/integration/compile_tests.rs @@ -792,10 +792,7 @@ fn dynamic_import_unanalyzable() { #[test] fn compile_npm_specifiers() { - let context = TestContextBuilder::for_npm() - .use_sync_npm_download() - .use_temp_cwd() - .build(); + let context = TestContextBuilder::for_npm().use_temp_cwd().build(); let temp_dir = context.temp_dir(); temp_dir.write( @@ -1012,10 +1009,7 @@ struct RunNpmBinCompileOptions<'a> { } fn run_npm_bin_compile_test(opts: RunNpmBinCompileOptions) { - let context = TestContextBuilder::for_npm() - .use_sync_npm_download() - .use_temp_cwd() - .build(); + let context = TestContextBuilder::for_npm().use_temp_cwd().build(); let temp_dir = context.temp_dir(); let testdata_path = context.testdata_path(); @@ -1066,7 +1060,6 @@ fn run_npm_bin_compile_test(opts: RunNpmBinCompileOptions) { #[test] fn compile_node_modules_symlink_outside() { let context = TestContextBuilder::for_npm() - .use_sync_npm_download() .use_copy_temp_dir("compile/node_modules_symlink_outside") .cwd("compile/node_modules_symlink_outside") .build(); -- cgit v1.2.3