mirror of
https://github.com/waku-org/js-waku.git
synced 2025-02-27 11:30:49 +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
|
private readonly log: Logger
|
||||||
) {
|
) {
|
||||||
this.healthManager = getHealthManager();
|
this.healthManager = getHealthManager();
|
||||||
|
this.healthManager.updateProtocolHealth(this.core.multicodec, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
public getWriteLockHolder(): string | null {
|
public getWriteLockHolder(): string | null {
|
||||||
|
@ -152,7 +152,8 @@ describe("getPeers", function () {
|
|||||||
for (const peer of allPeers) {
|
for (const peer of allPeers) {
|
||||||
connections.push({
|
connections.push({
|
||||||
status: "open",
|
status: "open",
|
||||||
remotePeer: peer.id
|
remotePeer: peer.id,
|
||||||
|
streams: [{ protocol: waku.lightPush.protocol.multicodec }]
|
||||||
} as unknown as Connection);
|
} as unknown as Connection);
|
||||||
}
|
}
|
||||||
return connections;
|
return connections;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user