mirror of
https://github.com/hexastack/hexabot
synced 2025-01-22 18:45:57 +00:00
fix(api): remove unused loggerModule imports
This commit is contained in:
parent
6dbc1d1907
commit
5ce65dc742
@ -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,
|
||||||
|
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user