-
Standalone testcase to reproduce the problem (tested with version `5.2.2` of `ioredis-mock`):
```typescript
describe("Creation of global variables with lua", () => {
test("works with ioredis-…
-
Hi dear friends,
I want to know what is the right way to test the error result, In my test code I use
```
jest.mock("redis", () => jest.requireActual("redis-mock"));
describe("redis functio…
-
I use redis-mock. And during the tests I don't see any new data in local db, it means jest use redis-mock and not real redis, but if I change port or url from "localhost:6379" to something different I…
-
For some testing purposes it would be nice to have a mock network module that is configurable.
There are different mocking versions that we could have:
- Preconfigured message stack
- We co…
-
New Redis is around the corner, and this mock lib is breaking in two clear cases:
- methods are not promisified, whereas redis supports that
- 'setEx' no not defined on the mock client (but setex …
-
When upgrading from ioredis v4 to v5, my test cases written in jest are failing with the following error: ** TypeError: Cannot read properties of undefined (reading 'mockImplementation')**
Here's a…
-
`mget()` doesn't throw an error when for an empty array (which is the default behaviour in `ioredis`).
* `ioredis`
```javascript
var Redis = require('ioredis');
var redis = new Redis();
await r…
-
I Run This Command
from your documantation to check is it working correctly
`PYTHONPATH=$PYTHONPATH:$PWD django-admin.py test defender --settings=defender.test_settings`
but i always get this…
-
Setting decode_responses on the client should cause the client to return strings instead of bytes objects in python 3.
```
Python 3.5.0 (default, Oct 24 2015, 09:48:42)
[GCC 4.9.2] on linux
Type "…
-
When running the test suite with Python 3.13.0b2, I'm getting the following failures (all tests pass with 3.12):
```pytb
$ python -m pytest --ignore tests/performance/
===========================…