mirror of
https://github.com/waku-org/js-waku.git
synced 2025-02-27 03:20:48 +00:00
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…
x
Reference in New Issue
Block a user