File size: 596 Bytes
aaf84ca |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
import { Test, TestingModule } from '@nestjs/testing';
import { MatchingController } from './matching.controller';
import { MatchingService } from './matching.service';
describe('MatchingController', () => {
let controller: MatchingController;
beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
controllers: [MatchingController],
providers: [MatchingService],
}).compile();
controller = module.get<MatchingController>(MatchingController);
});
it('should be defined', () => {
expect(controller).toBeDefined();
});
});
|