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
Jest's default reporter is not affected as it uses Date.now which is not faked. Will need to fix this before making Lolex the implementation behind fake timers
The text was updated successfully, but these errors were encountered:
If time is faked, the counter won't work (it's bases on
setInterval
). Not sure how to obtain a reference to real timers, might need a change in Jest.https://github.com/jest-community/jest-react-reporter/blob/de507dccce388a56271a640fed128c82dab93192/src/hooks.ts
Jest's default reporter is not affected as it uses
Date.now
which is not faked. Will need to fix this before making Lolex the implementation behind fake timersThe text was updated successfully, but these errors were encountered: