19 lines
471 B
TypeScript
19 lines
471 B
TypeScript
|
|
import { Test, TestingModule } from '@nestjs/testing';
|
||
|
|
import { LogController } from './log.controller';
|
||
|
|
|
||
|
|
describe('LogController', () => {
|
||
|
|
let controller: LogController;
|
||
|
|
|
||
|
|
beforeEach(async () => {
|
||
|
|
const module: TestingModule = await Test.createTestingModule({
|
||
|
|
controllers: [LogController],
|
||
|
|
}).compile();
|
||
|
|
|
||
|
|
controller = module.get<LogController>(LogController);
|
||
|
|
});
|
||
|
|
|
||
|
|
it('should be defined', () => {
|
||
|
|
expect(controller).toBeDefined();
|
||
|
|
});
|
||
|
|
});
|