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
793 stars 103 forks source link

chore: use npx in pre-commit hook #457

Closed SimenB closed 1 year ago

SimenB commented 1 year ago

Purpose (TL;DR) - mandatory

See https://github.com/sinonjs/fake-timers/pull/440/files#r1032069294

https://typicode.github.io/husky/#/?id=locally-installed-binaries

codecov[bot] commented 1 year ago

Codecov Report

Base: 95.52% // Head: 95.52% // No change to project coverage :thumbsup:

Coverage data is based on head (8482bef) compared to base (4ffc5bc). Patch has no changes to coverable lines.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #457 +/- ## ======================================= Coverage 95.52% 95.52% ======================================= Files 2 2 Lines 648 648 ======================================= Hits 619 619 Misses 29 29 ``` | Flag | Coverage Δ | | |---|---|---| | unit | `95.52% <ø> (ø)` | | 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. Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sinonjs). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sinonjs)

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