Replaced node_redis with ioredis

This commit is contained in:
Wyatt Johnson
2017-08-29 17:52:29 -06:00
parent 2c3f5385ae
commit 8f3bfd2bd4
7 changed files with 276 additions and 366 deletions
+1 -7
View File
@@ -3,12 +3,6 @@ const cache = require('../../services/cache');
const client = createClient();
beforeEach(() => Promise.all([
new Promise((resolve, reject) => client.flushdb((err) => {
if (err) {
return reject(err);
}
return resolve();
})),
client.flushdb(),
cache.init(),
]));