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
sinon.fake() argument passes wrong type #1781
Comments
Thank you for the error report and the PR 👍 Based on your PR, I created a pull request that also has a test for the failure, so we will catch it if there are regressions. |
This has been fixed with |
Thanks! |
7 tasks
franck-romano
pushed a commit
to franck-romano/sinon
that referenced
this issue
Oct 1, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What did you expect to happen?
Expect sinon.fake() argument to be a function or no argument.
What actually happens
sinon.fake() passes all type, because func are typos instead of f
How to reproduce
Before:
After:
The text was updated successfully, but these errors were encountered: