tamaina 2021-09-12 00:47:34 +09:00
parent f6fe07356f
commit 94ebf2ac5a

View file

@ -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,