We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aacd106 commit b4f02a6Copy full SHA for b4f02a6
packages/interface-compliance-tests/test/matchers.spec.ts
@@ -24,9 +24,7 @@ describe('peer id matcher', () => {
24
const stub = Sinon.stub()
25
stub(peerId)
26
27
- // this does not match because peerId2 does not contain the private key so
28
- // the values are not deeply equal
29
- expect(stub.calledWith(peerId2)).to.be.false()
+ expect(stub.calledWith(peerId2)).to.be.true()
30
expect(stub.calledWith(matchPeerId(peerId2))).to.be.true()
31
})
32
0 commit comments