mirror of https://github.com/waku-org/js-waku.git
chore: update tests
This commit is contained in:
parent
1df0556e19
commit
d1d9198ea7
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue