When doing a promisified client.get, redis-mock fails with:
/node_modules/redis-mock/lib/redis-mock.js:424
callback(err, "OK");
^
TypeError: callback is not a function
at /node_modules/redis-mock/lib/redis-mock.js:424:19
at /node_modules/redis-mock/lib/redis-mock.js:86:9
at processTicksAndRejections (internal/process/next_tick.js:74:9)
Resolved by using the _callCallback wrapper to make sure the callback is actually a function
When doing a promisified client.get, redis-mock fails with:
Resolved by using the _callCallback wrapper to make sure the callback is actually a function