From a96ab8307f6a2f04cf77fd8e45118d6909342864 Mon Sep 17 00:00:00 2001 From: Julien Goux Date: Thu, 5 Nov 2026 20:38:18 +0100 Subject: [PATCH] test(cli): stop gen types e2e matching DB ports that start with 1 --- apps/cli/src/commands/gen/types/types.e2e.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/cli/src/commands/gen/types/types.e2e.test.ts b/apps/cli/src/commands/gen/types/types.e2e.test.ts index 9c9539a7d4..368fa1b3c5 100644 --- a/apps/cli/src/commands/gen/types/types.e2e.test.ts +++ b/apps/cli/src/commands/gen/types/types.e2e.test.ts @@ -286,7 +286,7 @@ function expectNoRemoteAuthPath(result: { stdout: string; stderr: string }) { const output = combinedOutput(result); expect(output).not.toContain("Access token not provided"); expect(output).not.toContain("api.supabase.com"); - expect(output).not.toContain("127.0.0.1:1"); + expect(output).not.toMatch(/127\.0\.0\.1:1(?!\d)/); } function expectLanguageShape(lang: TypegenLang, stdout: string) {