From 08e62ff683e9bd7f9233ad1611cfdce19808e1ea Mon Sep 17 00:00:00 2001 From: Lucas Winther Date: Fri, 30 Oct 2026 20:38:49 +0100 Subject: [PATCH] test(e2e): narrow the Postgres URL for the typechecker Co-Authored-By: Claude Opus 5.5 --- apps/server/test/studio-import-e2e.test.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/server/test/studio-import-e2e.test.ts b/apps/server/test/studio-import-e2e.test.ts index e252c1f..9a4da26 100644 --- a/apps/server/test/studio-import-e2e.test.ts +++ b/apps/server/test/studio-import-e2e.test.ts @@ -143,9 +143,10 @@ async function run(databaseUrl: string) { describe("studio import end to end", () => { test("import, make editable, edit, publish [sqlite]", () => run("sqlite://:memory:"), 120_000); - if (PG) { + const pg = PG; + if (pg) { test("import, make editable, edit, publish [postgres]", async () => { - const db = await pgSchema(PG); + const db = await pgSchema(pg); try { await run(db.url); } finally { await db.drop(); } }, 120_000); }