Switch to using the new custom logger

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2020-09-27 21:48:42 +02:00
parent 1a2959f6dc
commit d7f407da2d
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3
24 changed files with 83 additions and 34 deletions

View file

@ -1,5 +1,6 @@
import { Test, TestingModule } from '@nestjs/testing';
import { getRepositoryToken } from '@nestjs/typeorm';
import { LoggerModule } from '../logger/logger.module';
import { AuthorColor } from '../notes/author-color.entity';
import { Note } from '../notes/note.entity';
import { NotesModule } from '../notes/notes.module';
@ -22,7 +23,7 @@ describe('RevisionsService', () => {
useValue: {},
},
],
imports: [NotesModule],
imports: [NotesModule, LoggerModule],
})
.overrideProvider(getRepositoryToken(Authorship))
.useValue({})