LocChat/server/app.controller.spec.ts
2021-11-23 14:04:12 -07:00

22 lines
578 B
TypeScript

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],
providers: [],
}).compile();
appController = app.get<AppController>(AppController);
});
// describe('root', () => {
// it('should return "Hello World!"', () => {
// expect(appController.getHello()).toBe('Hello World!');
// });
// });
});