AcadeDoc/apps/server/src/core/group/group.controller.spec.ts
2024-03-05 16:22:24 +00:00

20 lines
575 B
TypeScript

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