Skip to content

Commit

Permalink
Fixup: document removal of spy.reset in migration guide
Browse files Browse the repository at this point in the history
  • Loading branch information
mroderick committed Jan 13, 2018
1 parent 77a67c5 commit 9b10f93
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/guides/migrating-to-5.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ breadcrumb: migrating to 5.0
As with all `MAJOR` releases in [`semver`](http://semver.org/), there are breaking changes in `sinon@5`.
This guide will walk you through those changes.

## `spy.reset()` is removed, use `spy.resetHistory()`

In a previous version we deprecated and aliased `spy.reset` in favour of using `spy.resetHistory`. `spy.reset` has now been removed, you should use `spy.resetHistory`.


## `sinon` is now a (default) sandbox

Since `sinon@5.0.0`, the `sinon` object is a default sandbox. Unless you have a very advanced setup or need a special configuration, you probably want to just use that one.
Expand Down

0 comments on commit 9b10f93

Please sign in to comment.