diff options
| author | David Sherret <dsherret@users.noreply.github.com> | 2024-05-06 21:06:01 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-07 01:06:01 +0000 |
| commit | 1587387bccb6dbecd85f5141dd7543f013d47cd8 (patch) | |
| tree | b9829c3e50442deff360cf664555935a0d16a4db /tests/testdata/npm/cjs_with_deps | |
| parent | 87d1ead7d09638172b0e397c8209c759666514da (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/testdata/npm/cjs_with_deps')
| -rw-r--r-- | tests/testdata/npm/cjs_with_deps/main.out | 56 | ||||
| -rw-r--r-- | tests/testdata/npm/cjs_with_deps/main_node_modules.out | 56 |
2 files changed, 56 insertions, 56 deletions
diff --git a/tests/testdata/npm/cjs_with_deps/main.out b/tests/testdata/npm/cjs_with_deps/main.out index aac21abba..087abe673 100644 --- a/tests/testdata/npm/cjs_with_deps/main.out +++ b/tests/testdata/npm/cjs_with_deps/main.out @@ -1,33 +1,33 @@ [UNORDERED_START] -Download http://localhost:4545/npm/registry/chalk -Download http://localhost:4545/npm/registry/chai -Download http://localhost:4545/npm/registry/ansi-styles -Download http://localhost:4545/npm/registry/supports-color -Download http://localhost:4545/npm/registry/assertion-error -Download http://localhost:4545/npm/registry/check-error -Download http://localhost:4545/npm/registry/deep-eql -Download http://localhost:4545/npm/registry/get-func-name -Download http://localhost:4545/npm/registry/loupe -Download http://localhost:4545/npm/registry/pathval -Download http://localhost:4545/npm/registry/type-detect -Download http://localhost:4545/npm/registry/color-convert -Download http://localhost:4545/npm/registry/has-flag -Download http://localhost:4545/npm/registry/color-name +Download http://localhost:4558/chalk +Download http://localhost:4558/chai +Download http://localhost:4558/ansi-styles +Download http://localhost:4558/supports-color +Download http://localhost:4558/assertion-error +Download http://localhost:4558/check-error +Download http://localhost:4558/deep-eql +Download http://localhost:4558/get-func-name +Download http://localhost:4558/loupe +Download http://localhost:4558/pathval +Download http://localhost:4558/type-detect +Download http://localhost:4558/color-convert +Download http://localhost:4558/has-flag +Download http://localhost:4558/color-name [UNORDERED_END] [UNORDERED_START] -Download http://localhost:4545/npm/registry/ansi-styles/ansi-styles-4.3.0.tgz -Download http://localhost:4545/npm/registry/assertion-error/assertion-error-1.1.0.tgz -Download http://localhost:4545/npm/registry/chai/chai-4.3.6.tgz -Download http://localhost:4545/npm/registry/chalk/chalk-4.1.2.tgz -Download http://localhost:4545/npm/registry/check-error/check-error-1.0.2.tgz -Download http://localhost:4545/npm/registry/color-convert/color-convert-2.0.1.tgz -Download http://localhost:4545/npm/registry/color-name/color-name-1.1.4.tgz -Download http://localhost:4545/npm/registry/deep-eql/deep-eql-3.0.1.tgz -Download http://localhost:4545/npm/registry/get-func-name/get-func-name-2.0.0.tgz -Download http://localhost:4545/npm/registry/has-flag/has-flag-4.0.0.tgz -Download http://localhost:4545/npm/registry/loupe/loupe-2.3.4.tgz -Download http://localhost:4545/npm/registry/pathval/pathval-1.1.1.tgz -Download http://localhost:4545/npm/registry/supports-color/supports-color-7.2.0.tgz -Download http://localhost:4545/npm/registry/type-detect/type-detect-4.0.8.tgz +Download http://localhost:4558/ansi-styles/ansi-styles-4.3.0.tgz +Download http://localhost:4558/assertion-error/assertion-error-1.1.0.tgz +Download http://localhost:4558/chai/chai-4.3.6.tgz +Download http://localhost:4558/chalk/chalk-4.1.2.tgz +Download http://localhost:4558/check-error/check-error-1.0.2.tgz +Download http://localhost:4558/color-convert/color-convert-2.0.1.tgz +Download http://localhost:4558/color-name/color-name-1.1.4.tgz +Download http://localhost:4558/deep-eql/deep-eql-3.0.1.tgz +Download http://localhost:4558/get-func-name/get-func-name-2.0.0.tgz +Download http://localhost:4558/has-flag/has-flag-4.0.0.tgz +Download http://localhost:4558/loupe/loupe-2.3.4.tgz +Download http://localhost:4558/pathval/pathval-1.1.1.tgz +Download http://localhost:4558/supports-color/supports-color-7.2.0.tgz +Download http://localhost:4558/type-detect/type-detect-4.0.8.tgz [UNORDERED_END] chalk cjs loads diff --git a/tests/testdata/npm/cjs_with_deps/main_node_modules.out b/tests/testdata/npm/cjs_with_deps/main_node_modules.out index 548f567f1..1ed0dee18 100644 --- a/tests/testdata/npm/cjs_with_deps/main_node_modules.out +++ b/tests/testdata/npm/cjs_with_deps/main_node_modules.out @@ -1,47 +1,47 @@ [UNORDERED_START] -Download http://localhost:4545/npm/registry/chalk -Download http://localhost:4545/npm/registry/chai -Download http://localhost:4545/npm/registry/ansi-styles -Download http://localhost:4545/npm/registry/supports-color -Download http://localhost:4545/npm/registry/assertion-error -Download http://localhost:4545/npm/registry/check-error -Download http://localhost:4545/npm/registry/deep-eql -Download http://localhost:4545/npm/registry/get-func-name -Download http://localhost:4545/npm/registry/loupe -Download http://localhost:4545/npm/registry/pathval -Download http://localhost:4545/npm/registry/type-detect -Download http://localhost:4545/npm/registry/color-convert -Download http://localhost:4545/npm/registry/has-flag -Download http://localhost:4545/npm/registry/color-name +Download http://localhost:4558/chalk +Download http://localhost:4558/chai +Download http://localhost:4558/ansi-styles +Download http://localhost:4558/supports-color +Download http://localhost:4558/assertion-error +Download http://localhost:4558/check-error +Download http://localhost:4558/deep-eql +Download http://localhost:4558/get-func-name +Download http://localhost:4558/loupe +Download http://localhost:4558/pathval +Download http://localhost:4558/type-detect +Download http://localhost:4558/color-convert +Download http://localhost:4558/has-flag +Download http://localhost:4558/color-name [UNORDERED_END] [UNORDERED_START] -Download http://localhost:4545/npm/registry/ansi-styles/ansi-styles-4.3.0.tgz +Download http://localhost:4558/ansi-styles/ansi-styles-4.3.0.tgz Initialize ansi-styles@4.3.0 -Download http://localhost:4545/npm/registry/assertion-error/assertion-error-1.1.0.tgz +Download http://localhost:4558/assertion-error/assertion-error-1.1.0.tgz Initialize assertion-error@1.1.0 -Download http://localhost:4545/npm/registry/chai/chai-4.3.6.tgz +Download http://localhost:4558/chai/chai-4.3.6.tgz Initialize chai@4.3.6 -Download http://localhost:4545/npm/registry/chalk/chalk-4.1.2.tgz +Download http://localhost:4558/chalk/chalk-4.1.2.tgz Initialize chalk@4.1.2 -Download http://localhost:4545/npm/registry/check-error/check-error-1.0.2.tgz +Download http://localhost:4558/check-error/check-error-1.0.2.tgz Initialize check-error@1.0.2 -Download http://localhost:4545/npm/registry/color-convert/color-convert-2.0.1.tgz +Download http://localhost:4558/color-convert/color-convert-2.0.1.tgz Initialize color-convert@2.0.1 -Download http://localhost:4545/npm/registry/color-name/color-name-1.1.4.tgz +Download http://localhost:4558/color-name/color-name-1.1.4.tgz Initialize color-name@1.1.4 -Download http://localhost:4545/npm/registry/deep-eql/deep-eql-3.0.1.tgz +Download http://localhost:4558/deep-eql/deep-eql-3.0.1.tgz Initialize deep-eql@3.0.1 -Download http://localhost:4545/npm/registry/get-func-name/get-func-name-2.0.0.tgz +Download http://localhost:4558/get-func-name/get-func-name-2.0.0.tgz Initialize get-func-name@2.0.0 -Download http://localhost:4545/npm/registry/has-flag/has-flag-4.0.0.tgz +Download http://localhost:4558/has-flag/has-flag-4.0.0.tgz Initialize has-flag@4.0.0 -Download http://localhost:4545/npm/registry/loupe/loupe-2.3.4.tgz +Download http://localhost:4558/loupe/loupe-2.3.4.tgz Initialize loupe@2.3.4 -Download http://localhost:4545/npm/registry/pathval/pathval-1.1.1.tgz +Download http://localhost:4558/pathval/pathval-1.1.1.tgz Initialize pathval@1.1.1 -Download http://localhost:4545/npm/registry/supports-color/supports-color-7.2.0.tgz +Download http://localhost:4558/supports-color/supports-color-7.2.0.tgz Initialize supports-color@7.2.0 -Download http://localhost:4545/npm/registry/type-detect/type-detect-4.0.8.tgz +Download http://localhost:4558/type-detect/type-detect-4.0.8.tgz Initialize type-detect@4.0.8 [UNORDERED_END] chalk cjs loads |
