Listory/src/frontend/frontend.controller.spec.ts

19 lines
507 B
TypeScript
Raw Normal View History

2020-01-26 19:07:15 +01:00
import { Test, TestingModule } from '@nestjs/testing';
import { FrontendController } from './frontend.controller';
describe('Frontend Controller', () => {
let controller: FrontendController;
beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
controllers: [FrontendController],
}).compile();
controller = module.get<FrontendController>(FrontendController);
});
it('should be defined', () => {
expect(controller).toBeDefined();
});
});