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,4 +1,5 @@
import { Test, TestingModule } from '@nestjs/testing';
import { LoggerModule } from '../logger/logger.module';
import { UsersService } from './users.service';
describe('UsersService', () => {
@ -7,6 +8,7 @@ describe('UsersService', () => {
beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
providers: [UsersService],
imports: [LoggerModule],
}).compile();
service = module.get<UsersService>(UsersService);