-
Notifications
You must be signed in to change notification settings - Fork 159
Open
Description
Not sure how easy this would be but it would be awesome to have full support for 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
.
Metadata
Metadata
Assignees
Labels
No labels