tamaina 2021-09-12 00:47:34 +09:00
parent 59580e9093
commit 36e86bbca7

View file

@ -158,7 +158,7 @@ export async function initTestDb(justBorrow = false, initEntities?: any[]) {
await conn.close();
} catch (e) {}
return createConnection({
return await createConnection({
type: 'postgres',
host: config.db.host,
port: config.db.port,