easy way to debug issues when using mocking libraries
call.verify('foo', {
'param1': should.dump,
'param2': should.dump('Value for param2'),
'param3': should.dump('dumps and asserts').and_equal('foo')
})
When the assertions runs and the mocking library compares the values against should.dump the compared value is printed to the console. It allows to easily notice what are we receiving.
easy way to debug issues when using mocking libraries
When the assertions runs and the mocking library compares the values against
should.dump
the compared value is printed to the console. It allows to easily notice what are we receiving.