hlapp/wirelesstags-js

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

Opened this issue · 1 comments

hlapp commented

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

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