sinonjs / fake-timers

Fake setTimeout and friends (collectively known as "timers"). Useful in your JavaScript tests. Extracted from Sinon.JS
BSD 3-Clause "New" or "Revised" License
797 stars 104 forks source link

Update README section about browser use #350

Closed mroderick closed 3 years ago

mroderick commented 3 years ago

In 7f56133373b240a397b00210c6b22c64d8ca8154 we removed the bundled version, but failed to update instructions for use in browsers.

codecov[bot] commented 3 years ago

Codecov Report

Merging #350 (bad0470) into master (7bb6e78) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #350   +/-   ##
=======================================
  Coverage   93.15%   93.15%           
=======================================
  Files           1        1           
  Lines         555      555           
=======================================
  Hits          517      517           
  Misses         38       38           
Flag Coverage Δ
unit 93.15% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 7bb6e78...bad0470. Read the comment docs.

mroderick commented 3 years ago

I chose to make a new release, so people viewing the README on non-GitHub websites and in the local filesystems would see the updated instructions for browser use.

This has been published to the npm registry as @sinonjs/fake-timers@7.0.1.