mirror of
https://github.com/logos-messaging/js-waku.git
synced 2026-01-08 08:43:09 +00:00
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();
|
||||
expect(subscribers).to.contain(nimPeerId.toString());
|
||||
expect(subscribers.map((p) => p.toString())).to.contain(
|
||||
nimPeerId.toString()
|
||||
);
|
||||
});
|
||||
|
||||
it("Publishes to nwaku", async function () {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user