unit-testing services that use bullMQ(nestjs) with redis #12436
Unanswered
RafiuJaman
asked this question in
Q&A
Replies: 1 comment
-
what is the problem with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys!, hope you are all doing well.
i have found myself in a pinch.
we have a monolith which uses bull mq with Redis for scheduling jobs such as emials notifs etc,
so far i have been running redis in a docker container for unit tests but i realise this not a unit-test everything in a unittest should happen in memory and i am unable to find a solution that helps me.
after removing he docker and runnning the testsi basically get this
i have used redis-mock,
ioredis
redis-server
nothing seems to work.
any help is greatly apriciated
Beta Was this translation helpful? Give feedback.
All reactions