Closed fwbrasil closed 3 weeks ago
Time-based tests are flaky in JS. It seems the default timer implementation has precision issues. This PR introduces Clock.nowMonotonic to provide more a more accurate Stopwatch and updates test thresholds to account for the timer imprecision.
Clock.nowMonotonic
Stopwatch
Time-based tests are flaky in JS. It seems the default timer implementation has precision issues. This PR introduces
Clock.nowMonotonic
to provide more a more accurateStopwatch
and updates test thresholds to account for the timer imprecision.