Konstantinos Kamaropoulos
5 years ago
2 changed files with 18 additions and 5 deletions
@ -0,0 +1,18 @@ |
|||||
|
import { Test, TestingModule } from '@nestjs/testing'; |
||||
|
import { LogsService } from './logs.service'; |
||||
|
|
||||
|
describe('LogsService', () => { |
||||
|
let service: LogsService; |
||||
|
|
||||
|
beforeEach(async () => { |
||||
|
const module: TestingModule = await Test.createTestingModule({ |
||||
|
providers: [LogsService], |
||||
|
}).compile(); |
||||
|
|
||||
|
service = module.get<LogsService>(LogsService); |
||||
|
}); |
||||
|
|
||||
|
it('should be defined', () => { |
||||
|
expect(service).toBeDefined(); |
||||
|
}); |
||||
|
}); |
Loading…
Reference in new issue