test(e2e): narrow the Postgres URL for the typechecker

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Lucas Winther
2026-10-30 20:38:49 +01:00
co-authored by Claude Opus 5.5
parent f834088588
commit 08e62ff683
+3 -2
View File
@@ -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);
}