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); }); it('should be defined', () => { expect(controller).toBeDefined(); }); });