-
This line:
https://github.com/yeahoffline/redis-mock/blob/84fed02fbbc76d4b3f6d1fcdda6516aa9ae2732b/lib/server/set.js#L11
prevents sad from being called with a single member. Example code:
```
…
-
Me and my co-worker had some fun today figuring out why:
- I could mock `\Redis` (the PHP extension)
- could specify an expectation for the method `eval`
- but whenever the eval method on the mocke…
-
The node-redis RedisClient module has a connect method that initates the connection. The same is missing in the mock class.
-
This package looks awesome, but i would have expected these tests to fail:
```golang
package frontpage_test
import (
"context"
"testing"
"github.com/go-redis/redismock/v8"
. "github.…
-
I'd like to use redis-mock to mock out some of the stream API operations.
I'm working on the implementation.
c0d3d updated
3 years ago
-
So I'm using this project in a Lumen setup that uses Predis 1.1. Mocking a Redis server works perfectly when using individual Redis commands, however, I can't get it to work when using pipeline. When …
-
We discovered an issue with [phpredis](https://github.com/phpredis/phpredis).
We wan't to create a Redis mock to inject them into another class that expects an instance of `Redis`.
Our solution n…
-
As of Redis 4.0.0, HSET is variadic and allows for multiple field/value pairs.
`HSET myhash field1 "Hello" field2 "World"`
This is currently not supported in redis-mock?
-
node-redis is releasing a new "V4" version that supports promises for all methods across the board (see more about that [here](https://github.com/NodeRedis/node-redis/blob/master/docs/v3-to-v4.md)). T…
puchm updated
2 years ago
-
Redis-mock does not support `multi` commands
Ref : [https://github.com/mranney/node_redis#clientmulticommands](https://github.com/mranney/node_redis#clientmulticommands)