-
-
Notifications
You must be signed in to change notification settings - Fork 769
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
Fix #1432: add details around expectations.withArgs behavior to docs #1501
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You did a bit too much :-) Basically, don't touch anything in _releases
- change the source for upcoming releases
Thanks @fatso83, my mistake - updated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect! Always wondered about this myself, actually, but I always stick to simple tests so never needed to find out.
Thank you! |
This changes how the tests work as an example of behavior verification, as opposed to state verification. The third test is still not ported, see: sinonjs/sinon#1501
Purpose
Fix issue #1432 - adds details to documentation of
expectations
methodswithArgs
andwithExactArgs
to prevent confusion, such as #992How to verify
Probably not necessary to run the docs application - please review the copy and confirm whether it is clear, informative, etc, and whether I've touched the correct / necessary files.