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
802 stars 105 forks source link

add support for queueMicrotask #217

Closed benjamingr closed 5 years ago

benjamingr commented 5 years ago

Purpose (TL;DR) - mandatory

Adds support for queueMicrotask added in Node.js 11 https://github.com/nodejs/node/pull/22951

Browsers should also eventually add this.

This is also not urgent since Node.js 11 isn't even out yet.

Solution - optional

This is essentially a nextTick that drops arguments which we already support.

SimenB commented 5 years ago

Any plans to release this? Node 11 is out 🙂

benjamingr commented 5 years ago

@SimenB just need to do a release really. @fatso83 ?

fatso83 commented 5 years ago

Feel free :)