mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-01 00:27:50 +02:00
feat: async/await redis connection
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user