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); }