diff --git a/apps/api/src/chain/services/block-http/block-http.service.spec.ts b/apps/api/src/chain/services/block-http/block-http.service.spec.ts index 802d3d863..fd0c03536 100644 --- a/apps/api/src/chain/services/block-http/block-http.service.spec.ts +++ b/apps/api/src/chain/services/block-http/block-http.service.spec.ts @@ -3,15 +3,17 @@ import "@test/mocks/logger-service.mock"; import { BlockHttpService as BlockHttpServiceCommon } from "@akashnetwork/http-sdk"; import { faker } from "@faker-js/faker"; +import { BlockRepository } from "@src/chain/repositories/block.repository"; import { BlockHttpService } from "./block-http.service"; describe(BlockHttpService.name, () => { let service: BlockHttpService; let blockHttpService: BlockHttpServiceCommon; + let blockRepository: BlockRepository; beforeEach(() => { blockHttpService = new BlockHttpServiceCommon(); - service = new BlockHttpService(blockHttpService); + service = new BlockHttpService(blockHttpService, blockRepository); }); it("should get current height", async () => {