I am looking for the best way to match the following:
expect([ { C1: \'xxx\', C0: \'this causes it not to match.\' } ]).to.deep.incl
Slightly updated version of #RobRaisch because for empty comparison giving error because '' not equal ""
let expected = { dateOfBirth: '', admissionDate: '', dischargeDate: '', incidentLocation: null }; Object.keys(expected).forEach(function(key) { expect(actual[key]).to.equal(expected[key]); });