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/check_errors/main_all.out | 4 ++-- tests/testdata/npm/check_errors/main_local.out | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/testdata/npm/check_errors') diff --git a/tests/testdata/npm/check_errors/main_all.out b/tests/testdata/npm/check_errors/main_all.out index 96f16d0b9..c910db950 100644 --- a/tests/testdata/npm/check_errors/main_all.out +++ b/tests/testdata/npm/check_errors/main_all.out @@ -1,5 +1,5 @@ -Download http://localhost:4545/npm/registry/@denotest/check-error -Download http://localhost:4545/npm/registry/@denotest/check-error/1.0.0.tgz +Download http://localhost:4558/@denotest/check-error +Download http://localhost:4558/@denotest/check-error/1.0.0.tgz Check file:///[WILDCARD]/check_errors/main.ts error: TS2506 [ERROR]: 'Class1' is referenced directly or indirectly in its own base expression. export class Class1 extends Class2 { diff --git a/tests/testdata/npm/check_errors/main_local.out b/tests/testdata/npm/check_errors/main_local.out index 1624b98bc..ad9b7a398 100644 --- a/tests/testdata/npm/check_errors/main_local.out +++ b/tests/testdata/npm/check_errors/main_local.out @@ -1,5 +1,5 @@ -Download http://localhost:4545/npm/registry/@denotest/check-error -Download http://localhost:4545/npm/registry/@denotest/check-error/1.0.0.tgz +Download http://localhost:4558/@denotest/check-error +Download http://localhost:4558/@denotest/check-error/1.0.0.tgz Check file:///[WILDCARD]/check_errors/main.ts error: TS2339 [ERROR]: Property 'Asdf' does not exist on type 'typeof import("file:///[WILDCARD]/@denotest/check-error/1.0.0/index.d.ts")'. console.log(test.Asdf); // should error -- cgit v1.2.3