You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am maintaining the Sinon fake-timers library, and we have gotten a few requests to add support for perf_hooks (like sinonjs/fake-timers#462). @benjamingr mentioned that this might be possible, but he is currently occupied, so I am not sure what we have to work with.
Does there exist some kind of hook that stubbing libraries such as ours can use to override the implementation? For instance, enabled through some command line argument to Node.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am maintaining the Sinon
fake-timers
library, and we have gotten a few requests to add support forperf_hooks
(like sinonjs/fake-timers#462). @benjamingr mentioned that this might be possible, but he is currently occupied, so I am not sure what we have to work with.Does there exist some kind of hook that stubbing libraries such as ours can use to override the implementation? For instance, enabled through some command line argument to Node.
Beta Was this translation helpful? Give feedback.
All reactions