A collection of node.js should library assertions
very-assertive mixes in with other should assertions, therefore all you need to do is require it...
npm install very-assertive
print detailed info on differences between JS objects... handy for large object comparisons.
one = nice: 'one'two = nice: 'two'oneshouldequalObject oneoneshouldnotequalObject two
print detailed info on differences between JS arrays.
one = 123two = 456oneshouldequalArray oneoneshouldnotequalArray two
This failing test:
missing:'content'stable: 'unchanged'shouldequalObject newProperty: 'added'stable: 'unchanged'
will output hash differences like: