Closed dtao closed 10 years ago
I'd like to be able to make assertions about just some of an object's properties in a more concise way.
For example:
var object = { foo: 1, bar: 2, baz: 3 }; // Maybe I don't care about bar for this particular test object.should.have.properties({ foo: 1, bar: 2 });
This change provides that functionality.
Never mind; I just noticed this functionality is available with include. Closing now.
include
I'd like to be able to make assertions about just some of an object's properties in a more concise way.
For example:
This change provides that functionality.