chai-shallow-deep-equal
Will shallowly perform a deep equal assertion. In other terms is consist of checking that an object, or objects graph, is contained within another one (see examples bellow).
Usage
Browser
Node
var chai = ;chai;
Assertions
ShallowDeepEqual is available for all chai assertion styles:
var a = name: 'Michel' language: 'javascript';var b = name: 'Michel'; ashould;to;assert;
Example
assert; // true assert; // true assert; // true assert; // false (age should not be defined)