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/task/both/package_json_selected.out | 4 ++-- tests/testdata/task/package_json/bin.out | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/testdata/task') diff --git a/tests/testdata/task/both/package_json_selected.out b/tests/testdata/task/both/package_json_selected.out index 3dd1ecafa..1ce94a1eb 100644 --- a/tests/testdata/task/both/package_json_selected.out +++ b/tests/testdata/task/both/package_json_selected.out @@ -1,5 +1,5 @@ -Download http://localhost:4545/npm/registry/@denotest/bin -Download http://localhost:4545/npm/registry/@denotest/bin/1.0.0.tgz +Download http://localhost:4558/@denotest/bin +Download http://localhost:4558/@denotest/bin/1.0.0.tgz Initialize @denotest/bin@1.0.0 Task bin cli-esm testing this out "asdf" testing diff --git a/tests/testdata/task/package_json/bin.out b/tests/testdata/task/package_json/bin.out index bf4693afc..f3599be8d 100644 --- a/tests/testdata/task/package_json/bin.out +++ b/tests/testdata/task/package_json/bin.out @@ -1,8 +1,8 @@ -Download http://localhost:4545/npm/registry/@denotest/bin +Download http://localhost:4558/@denotest/bin [UNORDERED_START] -Download http://localhost:4545/npm/registry/@denotest/bin/0.5.0.tgz +Download http://localhost:4558/@denotest/bin/0.5.0.tgz Initialize @denotest/bin@0.5.0 -Download http://localhost:4545/npm/registry/@denotest/bin/1.0.0.tgz +Download http://localhost:4558/@denotest/bin/1.0.0.tgz Initialize @denotest/bin@1.0.0 [UNORDERED_END] Task bin @denotest/bin hi && cli-esm testing this out && npx cli-cjs test "extra" -- cgit v1.2.3