feat: async/await redis connection

This commit is contained in:
Barış Soner Uşaklı
2021-01-22 23:59:52 -05:00
parent 33bf1b0e2c
commit fdfbc90255
5 changed files with 87 additions and 133 deletions

View File

@@ -135,7 +135,9 @@ before(async function () {
await db.init();
await db.createIndices();
if (db.hasOwnProperty('createIndices')) {
await db.createIndices();
}
await setupMockDefaults();
await db.initSessionStore();