19 lines
506 B
TypeScript
19 lines
506 B
TypeScript
import { Test, TestingModule } from '@nestjs/testing';
|
|
import { PrestamoController } from './prestamo.controller';
|
|
|
|
describe('PrestamoController', () => {
|
|
let controller: PrestamoController;
|
|
|
|
beforeEach(async () => {
|
|
const module: TestingModule = await Test.createTestingModule({
|
|
controllers: [PrestamoController],
|
|
}).compile();
|
|
|
|
controller = module.get<PrestamoController>(PrestamoController);
|
|
});
|
|
|
|
it('should be defined', () => {
|
|
expect(controller).toBeDefined();
|
|
});
|
|
});
|