From bbedcef9bce8dbb85a6c2ee5825c511dc67cb41f Mon Sep 17 00:00:00 2001 From: Maxime Beauchamp <15185355+baktun14@users.noreply.github.com> Date: Thu, 21 Nov 2024 12:08:04 -0500 Subject: [PATCH] fix(deployment): test fix --- .../src/chain/services/block-http/block-http.service.spec.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 () => {