Open MichelAraujo opened 2 years ago
Node Redis version 4 changed several interfaces, which makes this library unusable. for example :
createClient() doesn't automatically connect to server, additional method was added connect() lRange instead of lrange(). rPush instead of rpush().
connect-redis suggests continuing to use the v3 API with legacyMode: true
// redis@v4
const { createClient } = require("redis")
let redisClient = createClient({ legacyMode: true })
redisClient.connect().catch(console.error)
In that case, redis-mock
is still compliant.
I also want testing support for redis v4 which is the version I am using. I see the last commit of this repo is 2 years ago, is this repo still maintained?
@yeahoffline Any thoughts on this? Thank you.
Recently I updated the redis to version 4. Now, the test cases are breaking because redisClient is unable to find the connect method.
Can we please support the newer version of redis ?