Closed Turkish closed 7 years ago
let obj = {a: 'value one', b: 'value2'} expect(obj).to.have.properties(['a','b'])
Not an issue as we can use :
expect(obj).to.have.all.keys('a','b')
And chai-properties is intended to test not only existence of properties but their values too