test(e2e): narrow the Postgres URL for the typechecker
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
f834088588
commit
08e62ff683
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user