Files
back-ts/src/games/controllers/games.lobby.controller.spec.ts
T
2024-06-11 18:57:01 -04:00

21 lines
588 B
TypeScript

import { Test, TestingModule } from '@nestjs/testing';
import { LobbyController } from './games.lobby.controller';
import { LobbyService } from '../services/games.lobby.service';
describe('GamesController', () => {
let controller: LobbyController;
beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
controllers: [LobbyController],
providers: [LobbyService],
}).compile();
controller = module.get<LobbyController>(LobbyController);
});
it('should be defined', () => {
expect(controller).toBeDefined();
});
});