File: //var/dev/shahnamag/back-end/src/section/section.controller.spec.ts
import { Test, TestingModule } from '@nestjs/testing';
import { SectionController } from './section.controller';
import { SectionService } from './section.service';
describe('SectionController', () => {
let controller: SectionController;
beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
controllers: [SectionController],
providers: [SectionService],
}).compile();
controller = module.get<SectionController>(SectionController);
});
it('should be defined', () => {
expect(controller).toBeDefined();
});
});