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

Fix Typo in migration 6 and updated migration docs for migration from… #2074

Merged
merged 3 commits into from Aug 26, 2019

Conversation

Zaky7
Copy link
Contributor

@Zaky7 Zaky7 commented Aug 8, 2019

Purpose (TL;DR) - Created Migration guide for migration from version 6 to version 7

How to verify - mandatory

  1. Check out this branch
  2. npm install
  3. check the migrating-to-7.0.md file for migration steps

Checklist for author

  • npm run lint passes
  • References to standard library functions are cached.

@coveralls
Copy link

coveralls commented Aug 8, 2019

Pull Request Test Coverage Report for Build 2954

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 94.203%

Totals Coverage Status
Change from base Build 2939: 0.0%
Covered Lines: 1666
Relevant Lines: 1735

💛 - Coveralls

@Zaky7
Copy link
Contributor Author

Zaky7 commented Aug 26, 2019

@fatso83 Any review regarding this?

Copy link
Contributor

@fatso83 fatso83 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Just one minor typo

breadcrumb: migrating to 7.0
---

For upgrading to new Sinon 7 there are no known major breaking Changes except **negative ticks** are not allowed in `Sinon@7` due to update to lolex 3. So you cannot use negative values in sinon.useFakeTimers().tick();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes => changed

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fatso83 I have changed the text. Thanks for reviewing

@@ -4,7 +4,7 @@ title: Migrating to v7.0 - Sinon.JS
breadcrumb: migrating to 7.0
---

For upgrading to new Sinon 7 there are no known major breaking Changes except **negative ticks** are not allowed in `Sinon@7` due to update to lolex 3. So you cannot use negative values in sinon.useFakeTimers().tick();
For upgrading to new Sinon 7 there is no known major breaking Change except **negative ticks** are not allowed in `Sinon@7` due to update to lolex 3. So you cannot use negative values in sinon.useFakeTimers().tick();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't object to the plural, but the letter casing 😄

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My Bad I could not understand your fat Arrow Function. 😆.

@fatso83 fatso83 merged commit 2b1b2df into sinonjs:master Aug 26, 2019
@mroderick
Copy link
Member

Thank you for your pull request 🚀

franck-romano pushed a commit to franck-romano/sinon that referenced this pull request Oct 1, 2019
sinonjs#2074)

* Fix Typo in migration 6 and updated migration docs for migration from 6 to 7
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

Successfully merging this pull request may close these issues.

None yet

5 participants