On that note as well, is there a good way to "paus...
# coroutines
a
On that note as well, is there a good way to "pause" launches and have them run at a later time during testing? For instance, if we are loading an item and showing a view until we get our data, and we now mock our data to return near instantly, how can we keep the test from being flaky?
g
As with any other asynchronous code in tests. It depends on test type and what exactly you are testing
d
if the data comes from a suspend mock method it can call delay(somerealisticvalue))