This commit is contained in:
parent
f6fe07356f
commit
94ebf2ac5a
|
@ -158,7 +158,7 @@ export async function initTestDb(justBorrow = false, initEntities?: any[]) {
|
||||||
await conn.close();
|
await conn.close();
|
||||||
} catch (e) {}
|
} catch (e) {}
|
||||||
|
|
||||||
return createConnection({
|
return await createConnection({
|
||||||
type: 'postgres',
|
type: 'postgres',
|
||||||
host: config.db.host,
|
host: config.db.host,
|
||||||
port: config.db.port,
|
port: config.db.port,
|
||||||
|
|
Loading…
Reference in New Issue