mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-23 11:37:02 -04:00
Switch to using the new custom logger
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
b256fc8b36
commit
e37722a56a
24 changed files with 83 additions and 34 deletions
|
@ -1,4 +1,5 @@
|
|||
import { Test, TestingModule } from '@nestjs/testing';
|
||||
import { LoggerModule } from '../../../logger/logger.module';
|
||||
import { MediaController } from './media.controller';
|
||||
|
||||
describe('Media Controller', () => {
|
||||
|
@ -7,6 +8,7 @@ describe('Media Controller', () => {
|
|||
beforeEach(async () => {
|
||||
const module: TestingModule = await Test.createTestingModule({
|
||||
controllers: [MediaController],
|
||||
imports: [LoggerModule],
|
||||
}).compile();
|
||||
|
||||
controller = module.get<MediaController>(MediaController);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue