Skip to content

Commit

Permalink
Fix Typo in migration 6 and updated migration docs for migration from… (
Browse files Browse the repository at this point in the history
sinonjs#2074)

* Fix Typo in migration 6 and updated migration docs for migration from 6 to 7
  • Loading branch information
Zaky7 authored and Franck Romano committed Oct 1, 2019
1 parent 0a809f7 commit 7660b25
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guides/migrating-to-6.0.md
@@ -1,7 +1,7 @@
---
layout: page
title: Migrating to v6.0 - Sinon.JS
breadcrumb: migrating to 5.0
breadcrumb: migrating to 6.0
---

There should be no reason for any code changes with the new Sinon 6. Usually, `MAJOR` releases should come with breaking changes, but there are no known breaking changes in `sinon@6` at the time of this writing. We chose to release a new major version as a [pragmatic solution to some noise related to releasing Sinon 5.1](https://github.com/sinonjs/sinon/pull/1829#issue-193284761), which featured some breaking changes related to ESM (which since has been resolved).
Expand Down
11 changes: 11 additions & 0 deletions docs/guides/migrating-to-7.0.md
@@ -0,0 +1,11 @@
---
layout: page
title: Migrating to v7.0 - Sinon.JS
breadcrumb: migrating to 7.0
---

For users upgrading to Sinon 7 the only known breaking API change is that **negative ticks** are not allowed in `Sinon@7` due to updating to lolex 3 internally. This means you cannot use negative values in sinon.useFakeTimers().tick();


If you experience any issues moving from Sinon 6 to Sinon 7, [please let us know!](https://github.com/sinonjs/sinon/issues/new?template=Bug_report.md).

0 comments on commit 7660b25

Please sign in to comment.