Files
api-AT/src/servicio/servicio.controller.spec.ts
T
2025-09-10 17:32:00 -06:00

21 lines
596 B
TypeScript

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