Skip to content

v1.5.1

Compare
Choose a tag to compare
@sirbrillig sirbrillig released this 17 Feb 00:24
· 123 commits to master since this release

If an object is passed as an argument to a Spy call, since v1.4.1 that object is copied before being saved for comparison. Unfortunately, this has the result that comparing the original object to its copy always returns false (since they are compared by reference and the copy is literally not the same).

This release changes the comparison function to try comparing the objects by an array representation also.