mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 21:21:02 +00:00
19 lines
507 B
TypeScript
19 lines
507 B
TypeScript
|
|
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();
|
||
|
|
});
|
||
|
|
});
|