chai-members-deep
This extends chai.js with deep equality member checks, optionally also tracking
the identity of nested objects (see deep-equal-ident
)
for more info on that.
Install
npm install chai-members-deep
Usage
chai.use(require('chai-members-deep'));
The require
and should
interfaces already provided the ability to test for
members with the deep
flag. This extensions adds the equivalent methods to the
assert
interface:
assert;assert;assert;assert;
Since it uses the chai extension of deep-equal-ident
, it also includes
toidenticallydeep;assert;