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
gildor
09/18/2019, 2:28 AM
As with any other asynchronous code in tests. It depends on test type and what exactly you are testing
d
DALDEI
09/19/2019, 3:22 AM
if the data comes from a suspend mock method it can call delay(somerealisticvalue))