new structure whit other database
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
import { Test, TestingModule } from '@nestjs/testing';
|
||||
import { TransaccionController } from './transaccion.controller';
|
||||
import { TransaccionService } from './transaccion.service';
|
||||
|
||||
describe('TransaccionController', () => {
|
||||
let controller: TransaccionController;
|
||||
|
||||
beforeEach(async () => {
|
||||
const module: TestingModule = await Test.createTestingModule({
|
||||
controllers: [TransaccionController],
|
||||
providers: [TransaccionService],
|
||||
}).compile();
|
||||
|
||||
controller = module.get<TransaccionController>(TransaccionController);
|
||||
});
|
||||
|
||||
it('should be defined', () => {
|
||||
expect(controller).toBeDefined();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user