Files
twenty/server/src/app.controller.spec.ts
Charles Bochet 29b6109e54 Fix tests
2023-04-24 16:53:24 +02:00

21 lines
549 B
TypeScript

import { Test, TestingModule } from '@nestjs/testing';
import { AppController } from './app.controller';
import { AppService } from './app.service';
describe('AppController', () => {
let appController: AppController;
beforeEach(async () => {
const app: TestingModule = await Test.createTestingModule({
controllers: [AppController],
providers: [AppService],
}).compile();
appController = app.get<AppController>(AppController);
});
it('should be defined', () => {
expect(appController).toBeDefined();
});
});