Open jamesstonehill opened 5 years ago
Not sure how easy this would be but it would be awesome to have full support for ttl
ttl
const mock = require("redis-mock"); const client = mock.createClient(); client.setex("someKey", 300, "someValue"); client.ttl("someKey", (err, reply) => { console.log(reply); });
At the moment reply is always -1.
reply
-1
Not sure how easy this would be but it would be awesome to have full support for
ttl
At the moment
reply
is always-1
.