mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-24 20:14:35 -04:00
Switch to using the new custom logger
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
1a2959f6dc
commit
d7f407da2d
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