apps/nestjs-backend/src/features/invitation/invitation.controller.spec.ts
import type { TestingModule } from '@nestjs/testing';
import { Test } from '@nestjs/testing';
import { InvitationController } from './invitation.controller';
describe('InvitationController', () => {
let controller: InvitationController;
beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
controllers: [InvitationController],
}).compile();
controller = module.get<InvitationController>(InvitationController);
});
it('should be defined', () => {
expect(controller).toBeDefined();
});
});