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

sinon.reset() has been renamed to sinon.resetHistory() and is now deprecated #52

Open
hlapp opened this issue Jan 27, 2018 · 1 comment

Comments

@hlapp
Copy link
Owner

hlapp commented Jan 27, 2018

Apparently this was introduced in sinon v.4.1.4 (see sinonjs/sinon#1630), and although it's not documented in the release logs, it does print a warning to the screen already:

sinon.reset is deprecated and will be removed from the public API in a future version of simon
@johanbove
Copy link

Thanks for this as I could not find this information in any of the official docs yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants