skip to Main Content

Redis – NestJS – Can't resolve queue?

I am following doc to start to use queue. I installed @nestjs/bull, bull, @types/bull dependencies. And here is my app.module.ts: @Module({ imports: [ ConfigModule.forRoot({ load: [configuration], }), BullModule.registerQueue({ name: 'create_checkin', redis: { host: 'localhost', port: 6379, }, }), EventModule, ],…

VIEW QUESTION

Redis – How to jest mock nestjs imports?

I want to write a unit test for my nestjs 'Course' repository service (a service that has dependencies on Mongoose Model and Redis). courses.repository.ts: import { Injectable, HttpException, NotFoundException } from "@nestjs/common"; import { InjectModel } from "@nestjs/mongoose" import {…

VIEW QUESTION
Back To Top
Search