test: complete persistence and browser safety net

This commit is contained in:
2026-08-14 13:43:37 +02:00
parent 9a4da41b49
commit 545eb013bd
14 changed files with 392 additions and 120 deletions
-1
View File
@@ -25,7 +25,6 @@ suite('PostgreSQL migrations', () => {
afterAll(async () => {
if (!adminClient) return
await adminClient.query('SELECT pg_terminate_backend(pid) FROM pg_stat_activity WHERE datname = $1', [databaseName])
await adminClient.query(`DROP DATABASE IF EXISTS "${databaseName}"`)
await adminClient.end()
})