We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d442970 commit 158f6ecCopy full SHA for 158f6ec
packages/sdk/src/light_push/retry_manager.spec.ts
@@ -139,7 +139,7 @@ describe("RetryManager", () => {
139
throw new Error(ProtocolError.NO_PEER_AVAILABLE);
140
});
141
142
- await (retryManager as any)["taskExecutor"]({
+ await (retryManager as RetryManager)["taskExecutor"]({
143
callback: errorCallback,
144
maxAttempts: 1,
145
routingInfo: TestRoutingInfo
@@ -149,7 +149,7 @@ describe("RetryManager", () => {
149
expect(
150
(peerManager.renewPeer as sinon.SinonSpy).calledWith(mockPeerId, {
151
protocol: Protocols.LightPush,
152
- routingInfo: TestRoutingInfo
+ pubsubTopic: TestRoutingInfo.pubsubTopic
153
})
154
).to.be.true;
155
0 commit comments