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
expect(received).toHaveBeenCalledExactlyOnceWith(expected)
Expected mock function to have been called exactly once with ["hello", 3], but it was called with "hello"
Should be something like:
Expected mock function to have been called exactly once with ["hello", 3], but it was called with "hello", 1
OR even better:
Expected mock function to have been called exactly once with ["hello", 3], but it was called with ["hello", 1]
The text was updated successfully, but these errors were encountered:
I've just been manually switching to toHaveBeenCalledWith when there's a test failure as my workaround... Obviously, i'm also waiting for that PR to be merged 😉
Output:
Should be something like:
OR even better:
The text was updated successfully, but these errors were encountered: