hincrby nodejs
it('should decrement ip counter in redis hash', (done) => {
const first = new Promise((res, rej) => {
redisMockClient.hincrby(ipListKey, '127.0.0.1', 1, () => {
res();
});
});
const second = new Promise((res, rej) => {
redisMockClient.hincrby(ipListKey, '127.0.0.1', 1, () => {
res();
});
Expensive Eland