Closed jessegreenberg closed 2 years ago
From #50
I changed these to emit the elapsed time since the list time stepTimer has emitted and so far tests have not failed for me like they did before. This is noticeably more consistent for me on Firefox where I saw elapsed time swing from 16-48 ms in between each call of the window.setInterval
callback.
@zepumph just want to make sure you are OK with this change?
Looks really, really great. Good bug fix. Thanks!
The stepTimer emits in before() like
No matter how much time actually passes in the interval, we emit that
timeInterval
time as elapsed. I think this may be causing inconsistent test results. Usually when I run the tests as they are on master they pass, but every once in a while some fail.