import { Test, TestingModule } from '@nestjs/testing'; import { RankController } from './rank.controller'; describe('RankController', () => { let controller: RankController; beforeEach(async () => { const module: TestingModule = await Test.createTestingModule({ controllers: [RankController], }).compile(); controller = module.get(RankController); }); it('should be defined', () => { expect(controller).toBeDefined(); }); });