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
Super excited to see support for lua scripts which was the one thing preventing me from using this library in my unit tests! Many thanks to @nbarrera and @stipsan for all the work on that front.
While integrating, I've got a few tests failing (that pass when using an actual ioredis connection) and I think I tracked it down to commands that have an array response (i.e. zrange). It seems that the table/array returned from such commands uses zero-based indexing instead of the expected 1-based indexing.
Super excited to see support for lua scripts which was the one thing preventing me from using this library in my unit tests! Many thanks to @nbarrera and @stipsan for all the work on that front.
While integrating, I've got a few tests failing (that pass when using an actual ioredis connection) and I think I tracked it down to commands that have an array response (i.e.
zrange
). It seems that the table/array returned from such commands uses zero-based indexing instead of the expected 1-based indexing.Here is a small test case to show what I'm talking about https://runkit.com/embed/orgqbiq0910j
It wasn't immediately clear to me where/how to fix this or I would just submit a PR.
The text was updated successfully, but these errors were encountered: