Skip to content
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

add support for non calls #18

Open
shairez opened this issue Jan 5, 2020 · 0 comments
Open

add support for non calls #18

shairez opened this issue Jan 5, 2020 · 0 comments
Labels
Requires Investigation Issue that requires more time to investigate before making a decision

Comments

@shairez
Copy link
Member

shairez commented Jan 5, 2020

Is your feature request related to a problem? Please describe.
When configuring mustBeCalledWith and not calling the method, there isn't any exception being thrown.

Describe the solution you'd like
I'd like it to behave as toHaveBeenCalledWith
Maybe add a toHaveBeenCalled somehow in a defered way.

Describe alternatives you've considered
I tried adding toHaveBeenCalled to the mustBeCalledWith function but it returned false positives for other use cases

@shairez shairez added the Requires Investigation Issue that requires more time to investigate before making a decision label Sep 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Requires Investigation Issue that requires more time to investigate before making a decision
Projects
None yet
Development

No branches or pull requests

1 participant