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/specs/publish/bare_node_builtins/bare_node_builtins.out | 4 ++-- tests/specs/publish/invalid_import/invalid_import.out | 4 ++-- tests/specs/publish/node_specifier/node_specifier.out | 4 ++-- tests/specs/publish/package_json/package_json.out | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'tests/specs/publish') diff --git a/tests/specs/publish/bare_node_builtins/bare_node_builtins.out b/tests/specs/publish/bare_node_builtins/bare_node_builtins.out index 09acc639f..03fd8be3a 100644 --- a/tests/specs/publish/bare_node_builtins/bare_node_builtins.out +++ b/tests/specs/publish/bare_node_builtins/bare_node_builtins.out @@ -1,7 +1,7 @@ Warning: Resolving "url" as "node:url" at file:///[WILDLINE]/mod.ts:1:22. If you want to use a built-in Node module, add a "node:" prefix. Warning: Resolving "url" as "node:url" at file:///[WILDLINE]/mod.ts:1:22. If you want to use a built-in Node module, add a "node:" prefix. -Download http://localhost:4545/npm/registry/@types/node -Download http://localhost:4545/npm/registry/@types/node/node-18.16.19.tgz +Download http://localhost:4558/@types/node +Download http://localhost:4558/@types/node/node-18.16.19.tgz Check file:///[WILDLINE]/mod.ts Checking for slow types in the public API... Check file:///[WILDLINE]/mod.ts diff --git a/tests/specs/publish/invalid_import/invalid_import.out b/tests/specs/publish/invalid_import/invalid_import.out index f6742de95..baddb679a 100644 --- a/tests/specs/publish/invalid_import/invalid_import.out +++ b/tests/specs/publish/invalid_import/invalid_import.out @@ -1,7 +1,7 @@ Download http://localhost:4545/welcome.ts Download http://localhost:4545/echo.ts -Download http://localhost:4545/npm/registry/chalk -Download http://localhost:4545/npm/registry/chalk/chalk-5.0.1.tgz +Download http://localhost:4558/chalk +Download http://localhost:4558/chalk/chalk-5.0.1.tgz Check file:///[WILDCARD]/mod.ts Checking for slow types in the public API... Check file://[WILDCARD]mod.ts diff --git a/tests/specs/publish/node_specifier/node_specifier.out b/tests/specs/publish/node_specifier/node_specifier.out index d3e4a367b..3c7151e29 100644 --- a/tests/specs/publish/node_specifier/node_specifier.out +++ b/tests/specs/publish/node_specifier/node_specifier.out @@ -1,5 +1,5 @@ -Download http://localhost:4545/npm/registry/@types/node -Download http://localhost:4545/npm/registry/@types/node/node-[WILDCARD].tgz +Download http://localhost:4558/@types/node +Download http://localhost:4558/@types/node/node-[WILDCARD].tgz Check file:///[WILDCARD]/mod.ts Checking for slow types in the public API... Check file:///[WILDCARD]/publish/node_specifier/mod.ts diff --git a/tests/specs/publish/package_json/package_json.out b/tests/specs/publish/package_json/package_json.out index 7b54ce8da..875356743 100644 --- a/tests/specs/publish/package_json/package_json.out +++ b/tests/specs/publish/package_json/package_json.out @@ -1,5 +1,5 @@ -Download http://localhost:4545/npm/registry/picocolors -Download http://localhost:4545/npm/registry/picocolors/picocolors-1.0.0.tgz +Download http://localhost:4558/picocolors +Download http://localhost:4558/picocolors/picocolors-1.0.0.tgz Check file:///[WILDCARD]/publish/package_json/mod.ts Checking for slow types in the public API... Check file:///[WILDCARD]/publish/package_json/mod.ts -- cgit v1.2.3