How to mock redis client in nodejs using jest

后端 未结 0 393
傲寒
傲寒 2021-01-11 19:16

I have tried to mock the redisClient.js using redis-mock using jest. But I couldn\'t find the solution for it. please give me a code sample for it.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题