You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add failing test for idempotent calledWith
* Make calledWith() assertions idempotent
Previously, calledWith() modified the list of arguments (called and
expected) in place, so that repeated calls to calledWith() assertions
ended up being repeatedly escaped.
This fixes that behavior, copying the arguments out of the spy's
internal array before modifying them.
0 commit comments