-
### Description
I am struggling to find a way to combine the modern Redis v4 client with the jest test framework.
This is my production code:
```
import redis from 'redis';
import config from…
-
In your jest.config.ts
add:
```
{
...
setupFiles: ["./src/jest/jestInitialSetup.ts"],
}
```
jestInitialSetup.ts
```
import redis from "./redisV4Mock";
jest.mock("redis", () => redi…
-
I've been trying to use this without success in typescript with nodenext. I installed typings from @types/ioredis-mock
```ts
import { redisMock } from "ioredis-mock";
const mockSender = new Redis…
-
It is not possible to mock `@InjectRedis() private readonly redis: Redis` in unit tests. The following error occurs:
```
ENOENT: no such file or directory, open 'node:child_process'
at Runt…
MFrat updated
4 weeks ago
-
When mocking commands like XAdd with multiple values the test will fail randomly depending on the order of the values the mock and client decide to put them in. Is there a way to validate that these c…
-
Is it possible mock go redis ClusterClient?
-
Is there any way to mock rejson in a mocked Redis server in golang?
I am able to mock a Redis server using something like this using [miniredis](https://github.com/alicebob/miniredis) and [redismoc…
-
### Summary of problem
We're using celery + gevent pool (with 500 workers) for LLM batch processing. And we're missing 4/5 of llm calls on Datadog.
Continued from #10212 as I can't open issu…
-
Tutorials: https://developers.sap.com/tutorials/cp-kyma-redis-function.html
--------------------------
The setup mock application prerequisite is no longer available.
-
In node-redis (Redis) we are able to add multiple keys and values at once for a hash as we can see in this [file](https://github.com/redis/node-redis/blob/master/packages/client/lib/commands/HSET.ts).…