Closed fatso83 closed 4 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
cc58937
) 97.50% compared to head (4667c29
) 97.50%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Purpose (TL;DR) - mandatory
fix #490
This makes FakeTimers stricter by failing when trying to fake a timer or object that is not present on the (chosen) global object.
To make transitioning easier, we provide a flag to revert to the behavior where missing timers were (mostly) ignored.
Background (Problem in detail) - optional
See #490