jest-mock-extended
jest-mock-extended copied to clipboard
fix: allow objects as a parameter in the 'calledWith' method
The "Features" section of the README says:
calledWith() extension to provide argument specific expectations, which works for objects and functions.
but the calledWith
extension does not match object parameters correctly, as per Issue #118, so this is to address that.