skip to Main Content

Want to use Nestjs with other Redis command

I try to implement nestjs backend and redis as caching. I can do it according to the official document https://docs.nestjs.com/techniques/caching#in-memory-cache. I use the package cache-manager-redis-store and the code in app.module.ts is as shown below. import { Module, CacheModule } from…

VIEW QUESTION

How to mock Jest Redis in Nestjs

I'm working on NestJs application and wrote unit test for my authenticateUser function in user.service.ts.It's has pass in my local machine.but when I deployed it in to server and run unit test, i got an error Redis connection to 127.0.0.1:6379…

VIEW QUESTION
Back To Top
Search