mirror of https://github.com/waku-org/js-waku.git
fix(test): compare peer ids using string format
This commit is contained in:
parent
991a1cf747
commit
a3e6850b2f
|
@ -367,7 +367,9 @@ describe("Waku Relay [node only]", () => {
|
||||||
}
|
}
|
||||||
|
|
||||||
const nimPeerId = await nwaku.getPeerId();
|
const nimPeerId = await nwaku.getPeerId();
|
||||||
expect(subscribers).to.contain(nimPeerId.toString());
|
expect(subscribers.map((p) => p.toString())).to.contain(
|
||||||
|
nimPeerId.toString()
|
||||||
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
it("Publishes to nwaku", async function () {
|
it("Publishes to nwaku", async function () {
|
||||||
|
|
Loading…
Reference in New Issue