sinonjs / sinon

Test spies, stubs and mocks for JavaScript.
https://sinonjs.org/
Other
9.61k stars 769 forks source link

Add docs for clock.jump method #2512

Closed CreativeTechGuy closed 1 year ago

CreativeTechGuy commented 1 year ago

Purpose (TL;DR)

Adds documentation for new clock.jump method introduced here: https://github.com/sinonjs/fake-timers/pull/465

This PR is by request from this comment: https://github.com/sinonjs/fake-timers/pull/465#issuecomment-1546603068

codecov[bot] commented 1 year ago

Codecov Report

Patch and project coverage have no change.

Comparison is base (fb6e695) 95.99% compared to head (76af654) 95.99%.

:exclamation: Current head 76af654 differs from pull request most recent head 7351227. Consider uploading reports for the commit 7351227 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2512 +/- ## ======================================= Coverage 95.99% 95.99% ======================================= Files 40 40 Lines 1899 1899 ======================================= Hits 1823 1823 Misses 76 76 ``` | Flag | Coverage Δ | | |---|---|---| | unit | `95.99% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sinonjs#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.