block-accounting/chain-api/src/contract-factory/contract-factory.controller.spec.ts
2024-05-08 00:28:55 +03:00

21 lines
668 B
TypeScript

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