You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
478 B
TypeScript
19 lines
478 B
TypeScript
2 years ago
|
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>(RankController);
|
||
|
});
|
||
|
|
||
|
it('should be defined', () => {
|
||
|
expect(controller).toBeDefined();
|
||
|
});
|
||
|
});
|