FEAT: new conection test module

This commit is contained in:
Gabriel Rosa
2022-07-27 08:41:32 -03:00
parent 349ae780a7
commit 037f5cfec0
11 changed files with 340 additions and 11 deletions
@@ -0,0 +1,18 @@
import { Test, TestingModule } from '@nestjs/testing';
import { ConnectionTestController } from './connection-test.controller';
describe('ConnectionTestController', () => {
let controller: ConnectionTestController;
beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
controllers: [ConnectionTestController],
}).compile();
controller = module.get<ConnectionTestController>(ConnectionTestController);
});
it('should be defined', () => {
expect(controller).toBeDefined();
});
});