8 lines
390 B
TypeScript
8 lines
390 B
TypeScript
/** Set RUN_DB_TESTS=1 and DATABASE_URL to run database integration tests. */
|
|
export declare function isDbTestEnabled(): boolean;
|
|
/**
|
|
* Run migrations once per process, and serialize across parallel test workers
|
|
* via a Postgres advisory lock (prevents 40P01 deadlocks on schema.sql).
|
|
*/
|
|
export declare function ensureTestMigrations(): Promise<void>;
|
|
//# sourceMappingURL=testDb.d.ts.map
|