chore: update tests

This commit is contained in:
Danish Arora 2024-09-24 19:24:00 +05:30
parent 1df0556e19
commit d1d9198ea7
No known key found for this signature in database
GPG Key ID: 1C6EF37CDAE1426E
2 changed files with 3 additions and 1 deletions

View File

@ -19,6 +19,7 @@ export class PeerManager {
private readonly log: Logger
) {
this.healthManager = getHealthManager();
this.healthManager.updateProtocolHealth(this.core.multicodec, 0);
}
public getWriteLockHolder(): string | null {

View File

@ -152,7 +152,8 @@ describe("getPeers", function () {
for (const peer of allPeers) {
connections.push({
status: "open",
remotePeer: peer.id
remotePeer: peer.id,
streams: [{ protocol: waku.lightPush.protocol.multicodec }]
} as unknown as Connection);
}
return connections;