-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support tmatch in toHaveBeenCalledWith #107
Comments
How would "of type" be determined? The only API i can think of that might work is one where the user decides for themselves - ie, |
Yeah I think allowing a predicate function would be the most pluggable. In order to have the It would be pretty cool to implement something like I did in simplecheck or just add support for that library, so we could do things like
|
The ability to do partial object checks with toHaveBeenCalledWith would be fantastic, so +1.
|
Is there a way to do something like this:
Seems like we would have to modify the
isEqual
test helper.The text was updated successfully, but these errors were encountered: