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

Mock "timers/promise" module #469

Open fatso83 opened 1 year ago

fatso83 commented 1 year ago

In #467 @swenzel-arc added the support for the timers module in NodeJS. Node also exports a non-callback async/Promise version of that API that needs to be mocked. We can probably very easily piggy-pack on top of the existing work done in the referenced PR.

Also see the over-arching #418

stale[bot] commented 6 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

KholdStare commented 6 months ago

Not stale