Closed alias-mac closed 6 years ago
This brings now
into parity with the other platform concepts (setTimeout
, clearTimeout
, etc).
This brings now into parity with the other platform concepts (setTimeout, clearTimeout, etc). Revert View details
I think we have it the way it is by design. For example, the autorun flush should not be interuptable.
Ya, I think I’m not grok’ing something here. Can we chat about this in higher bandwidth so I can make sure I understand?
This allow us to use fake timers, such as
sinon.useFakeTimers
, to check the state of the app during the run loop.For example: if a popup is supposed to be triggered in X ms from now and it will show to the user during Y ms, then this will allow us to use fake timers to pause between X and Y and check the state of the Ember app at that exact time.