diff --git a/packages/db/adapters/DittoPostgres.test.ts b/packages/db/adapters/DittoPostgres.test.ts index ea362ab0..48e97340 100644 --- a/packages/db/adapters/DittoPostgres.test.ts +++ b/packages/db/adapters/DittoPostgres.test.ts @@ -9,3 +9,14 @@ Deno.test('DittoPostgres', { ignore: !isPostgres }, async () => { await using db = new DittoPostgres(conf.databaseUrl); await db.migrate(); }); + +// FIXME: There is a problem with postgres-js where queries just hang after the database is closed. + +// Deno.test('DittoPostgres query after closing', { ignore: !isPostgres }, async () => { +// const db = new DittoPostgres(conf.databaseUrl); +// await db[Symbol.asyncDispose](); +// +// await assertRejects( +// () => db.kysely.selectFrom('nostr_events').selectAll().execute(), +// ); +// });