You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes @JonnyIngeno , it also applies to lpop. Even if count is supplied, string type is returned. In ioredis, if count is supplied string[] type is returned
Issue
ioredis-mock
rpop
command doesn't have the same behavior as in ioredis.ioredis
rpop
has acount
parameter that allows to retrieve X messages in 1 command. See https://redis.io/commands/rpoprpop
will always return an array.ioredis-mock
rpop
has nocount
parameter.rpop
always return only 1 item, which is not the expected array.Expected behavior
ioredis-mock
rpop
command should react the same as in ioredis.This probably applies to
lpop
too.The text was updated successfully, but these errors were encountered: