1 min readOct 27, 2018
TBH, I cannot quite recall. I think it’s because Angular’s fakeAsync
also makes some attempt to fake promises. Jasmine’s clock
does not.
If you have code under test that uses the asapScheduler
— with no delay — the action will be scheduled as a micro task — using a Promise
— and that will be asynchronous and won’t work with Jasmine’s fake time, etc.