LocChat/server/app.controller.spec.ts

22 lines
578 B
TypeScript
Raw Normal View History

2021-10-29 20:57:24 -04:00
import { Test, TestingModule } from '@nestjs/testing';
import { AppController } from './app.controller';
describe('AppController', () => {
let appController: AppController;
beforeEach(async () => {
const app: TestingModule = await Test.createTestingModule({
controllers: [AppController],
2021-11-23 16:04:12 -05:00
providers: [],
2021-10-29 20:57:24 -04:00
}).compile();
appController = app.get<AppController>(AppController);
});
2021-11-23 16:04:12 -05:00
// describe('root', () => {
// it('should return "Hello World!"', () => {
// expect(appController.getHello()).toBe('Hello World!');
// });
// });
2021-10-29 20:57:24 -04:00
});