From 1587387bccb6dbecd85f5141dd7543f013d47cd8 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Mon, 6 May 2024 21:06:01 -0400 Subject: chore(test): move npm registries to separate servers and to the `tests/registry` folder (#23717) 1. Moves the npm registries to their own dedicated ports. 2. Moves the data files out of `tests/testdata/npm/registry` to `tests/registry/npm`. --- tests/testdata/npm/directory_import/folder_index_js.out | 4 ++-- tests/testdata/npm/directory_import/folder_no_index.out | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/testdata/npm/directory_import') diff --git a/tests/testdata/npm/directory_import/folder_index_js.out b/tests/testdata/npm/directory_import/folder_index_js.out index 72f285fc0..3f8598fcf 100644 --- a/tests/testdata/npm/directory_import/folder_index_js.out +++ b/tests/testdata/npm/directory_import/folder_index_js.out @@ -1,5 +1,5 @@ -Download http://localhost:4545/npm/registry/@denotest/sub-folders -Download http://localhost:4545/npm/registry/@denotest/sub-folders/1.0.0.tgz +Download http://localhost:4558/@denotest/sub-folders +Download http://localhost:4558/@denotest/sub-folders/1.0.0.tgz error: Directory import [WILDCARD]folder_index_js is not supported resolving import from file:///[WILDCARD]/directory_import/folder_index_js.ts Did you mean to import index.js within the directory? diff --git a/tests/testdata/npm/directory_import/folder_no_index.out b/tests/testdata/npm/directory_import/folder_no_index.out index 86ac88207..36e76944b 100644 --- a/tests/testdata/npm/directory_import/folder_no_index.out +++ b/tests/testdata/npm/directory_import/folder_no_index.out @@ -1,5 +1,5 @@ -Download http://localhost:4545/npm/registry/@denotest/sub-folders -Download http://localhost:4545/npm/registry/@denotest/sub-folders/1.0.0.tgz +Download http://localhost:4558/@denotest/sub-folders +Download http://localhost:4558/@denotest/sub-folders/1.0.0.tgz error: Directory import [WILDCARD]folder_no_index is not supported resolving import from file:///[WILDCARD]/folder_no_index.ts Caused by: -- cgit v1.2.3