Files
formularios_api/src/opcion/opcion.controller.spec.ts
T
2025-03-26 14:39:56 -06:00

21 lines
576 B
TypeScript

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