summaryrefslogtreecommitdiff
path: root/tests/specs/publish
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-05-06 21:06:01 -0400
committerGitHub <noreply@github.com>2024-05-07 01:06:01 +0000
commit1587387bccb6dbecd85f5141dd7543f013d47cd8 (patch)
treeb9829c3e50442deff360cf664555935a0d16a4db /tests/specs/publish
parent87d1ead7d09638172b0e397c8209c759666514da (diff)
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`.
Diffstat (limited to 'tests/specs/publish')
-rw-r--r--tests/specs/publish/bare_node_builtins/bare_node_builtins.out4
-rw-r--r--tests/specs/publish/invalid_import/invalid_import.out4
-rw-r--r--tests/specs/publish/node_specifier/node_specifier.out4
-rw-r--r--tests/specs/publish/package_json/package_json.out4
4 files changed, 8 insertions, 8 deletions
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