Jasmine has built-in matchers toBe and toEqual. If I have an object like this:
toBe
toEqual
function Money(amount, currency){ this.amount = amou
I was looking for the same thing and found an existing way to do so without any custom code or matchers. Use toEqual().
toEqual()