diff --git a/src/test/unit/services/pool.spec.ts b/src/test/unit/services/pool.spec.ts index a8505f257..a276ca2e3 100644 --- a/src/test/unit/services/pool.spec.ts +++ b/src/test/unit/services/pool.spec.ts @@ -7,6 +7,7 @@ import { PoolFilter } from "src/endpoints/pool/entities/pool.filter"; import { PoolService } from "src/endpoints/pool/pool.service"; import { TransactionType } from "src/endpoints/transactions/entities/transaction.type"; import { ProtocolService } from "../../../common/protocol/protocol.service"; +import { TransactionActionService } from "../../../endpoints/transactions/transaction-action/transaction.action.service"; describe('PoolService', () => { let service: PoolService; @@ -41,6 +42,12 @@ describe('PoolService', () => { isTransactionPoolEnabled: jest.fn().mockResolvedValue(true), }, }, + { + provide: TransactionActionService, + useValue: { + getTransactionMetadata: jest.fn(), + }, + }, ], }).compile();