diff --git a/packages/sdk/src/light_push/retry_manager.spec.ts b/packages/sdk/src/light_push/retry_manager.spec.ts index 425bb5837c..c9eb95eea8 100644 --- a/packages/sdk/src/light_push/retry_manager.spec.ts +++ b/packages/sdk/src/light_push/retry_manager.spec.ts @@ -139,7 +139,7 @@ describe("RetryManager", () => { throw new Error(ProtocolError.NO_PEER_AVAILABLE); }); - await (retryManager as any)["taskExecutor"]({ + await (retryManager as RetryManager)["taskExecutor"]({ callback: errorCallback, maxAttempts: 1, routingInfo: TestRoutingInfo @@ -149,7 +149,7 @@ describe("RetryManager", () => { expect( (peerManager.renewPeer as sinon.SinonSpy).calledWith(mockPeerId, { protocol: Protocols.LightPush, - routingInfo: TestRoutingInfo + pubsubTopic: TestRoutingInfo.pubsubTopic }) ).to.be.true; });