mirror of
https://github.com/emo2007/block-accounting.git
synced 2025-04-12 00:46:27 +00:00
21 lines
668 B
TypeScript
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();
|
|
});
|
|
});
|