3 changed files with 22 additions and 1 deletions
@ -0,0 +1,18 @@ |
|||
import { Test, TestingModule } from '@nestjs/testing'; |
|||
import { LogsController } from './logs.controller'; |
|||
|
|||
describe('Logs Controller', () => { |
|||
let controller: LogsController; |
|||
|
|||
beforeEach(async () => { |
|||
const module: TestingModule = await Test.createTestingModule({ |
|||
controllers: [LogsController], |
|||
}).compile(); |
|||
|
|||
controller = module.get<LogsController>(LogsController); |
|||
}); |
|||
|
|||
it('should be defined', () => { |
|||
expect(controller).toBeDefined(); |
|||
}); |
|||
}); |
@ -0,0 +1,4 @@ |
|||
import { Controller } from '@nestjs/common'; |
|||
|
|||
@Controller('logs') |
|||
export class LogsController {} |
Loading…
Reference in new issue