-
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)
-
The `node_redis` documentation [recommends](https://github.com/NodeRedis/node_redis#bluebird-promises) promisifying like so:
```js
bluebird.promisifyAll(redis.Multi.prototype)
bluebird.promisifyA…
-
```js
const MockRedis = require('ioredis-mock');
const redis = new MockRedis();
(async () => {
redis.defineCommand('nilTest', { numberOfKeys: 0, lua: 'return nil' });
const result = await r…
-
I'm new to Redis in general, but have been using `redis-mock` in the past to test my code.
Recently, in one of my redis libraries, I ran into a strange scenario where a test would repeatedly fail whe…
-
It would be nice if bull had a test mode, just like kue: https://github.com/Automattic/kue#testing
This way it's much easier to write unit tests against bull workers
-
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.…
-
Hi,
Sorry if this is documented somewhere, but is there a way to force either Mock, MagicMock or CoroutineMock to always return CoroutineMock for method calls? I understand that this can work with …