ansman
12/01/2021, 10:29 PMTestCoroutineScheduler
? I see TestCoroutineScheduler
being used but delays are still being skipped which is super confusing to me as I don’t see the point of it if delays aren’t skippedAlex Vanyo
12/01/2021, 11:47 PMdelay
is stopping runTest
from finishing”
So if you launch
work in runTest
that calls a delay
or multiple delays, any delay
calls won’t run until:
• You advance the scheduler manually to run them
• You suspend waiting for something that is in turn waiting for a delay
(in which case delays start being skipped)Nick Allen
12/02/2021, 1:24 AM