fix(api): remove unused loggerModule imports

This commit is contained in:
yassinedorbozgithub 2024-10-05 15:39:50 +01:00
parent 6dbc1d1907
commit 5ce65dc742
2 changed files with 0 additions and 4 deletions

View File

@ -11,7 +11,6 @@ import { EventEmitter2 } from '@nestjs/event-emitter';
import { MongooseModule } from '@nestjs/mongoose'; import { MongooseModule } from '@nestjs/mongoose';
import { Test, TestingModule } from '@nestjs/testing'; import { Test, TestingModule } from '@nestjs/testing';
import { LoggerModule } from '@/logger/logger.module';
import { LoggerService } from '@/logger/logger.service'; import { LoggerService } from '@/logger/logger.service';
import { import {
installMenuFixtures, installMenuFixtures,
@ -39,7 +38,6 @@ describe('MenuController', () => {
imports: [ imports: [
rootMongooseTestModule(installMenuFixtures), rootMongooseTestModule(installMenuFixtures),
MongooseModule.forFeature([MenuModel]), MongooseModule.forFeature([MenuModel]),
LoggerModule,
], ],
providers: [ providers: [
MenuRepository, MenuRepository,

View File

@ -10,7 +10,6 @@ import { EventEmitter2 } from '@nestjs/event-emitter';
import { MongooseModule } from '@nestjs/mongoose'; import { MongooseModule } from '@nestjs/mongoose';
import { Test, TestingModule } from '@nestjs/testing'; import { Test, TestingModule } from '@nestjs/testing';
import { LoggerModule } from '@/logger/logger.module';
import { import {
installMenuFixtures, installMenuFixtures,
rootMenuFixtures, rootMenuFixtures,
@ -31,7 +30,6 @@ describe('MenuRepository', () => {
imports: [ imports: [
rootMongooseTestModule(installMenuFixtures), rootMongooseTestModule(installMenuFixtures),
MongooseModule.forFeature([MenuModel]), MongooseModule.forFeature([MenuModel]),
LoggerModule,
], ],
providers: [MenuRepository, EventEmitter2], providers: [MenuRepository, EventEmitter2],
}).compile(); }).compile();