2024-06-14 14:33:27 -06:00
|
|
|
import { Test, TestingModule } from '@nestjs/testing';
|
2024-06-14 14:48:51 -06:00
|
|
|
import { profesorController } from './profesor.controller';
|
2024-06-14 14:33:27 -06:00
|
|
|
|
|
|
|
|
describe('ProfesorController', () => {
|
2024-06-14 14:48:51 -06:00
|
|
|
let controller: profesorController;
|
2024-06-14 14:33:27 -06:00
|
|
|
|
|
|
|
|
beforeEach(async () => {
|
|
|
|
|
const module: TestingModule = await Test.createTestingModule({
|
2024-06-14 14:48:51 -06:00
|
|
|
controllers: [profesorController],
|
2024-06-14 14:33:27 -06:00
|
|
|
}).compile();
|
|
|
|
|
|
2024-06-14 14:48:51 -06:00
|
|
|
controller = module.get<profesorController>(profesorController);
|
2024-06-14 14:33:27 -06:00
|
|
|
});
|
|
|
|
|
|
|
|
|
|
it('should be defined', () => {
|
|
|
|
|
expect(controller).toBeDefined();
|
|
|
|
|
});
|
|
|
|
|
});
|