Skip to content

Commit b4f02a6

Browse files
committed
chore: fix test
1 parent aacd106 commit b4f02a6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/interface-compliance-tests/test/matchers.spec.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ describe('peer id matcher', () => {
2424
const stub = Sinon.stub()
2525
stub(peerId)
2626

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()
27+
expect(stub.calledWith(peerId2)).to.be.true()
3028
expect(stub.calledWith(matchPeerId(peerId2))).to.be.true()
3129
})
3230
})

0 commit comments

Comments
 (0)