Tim Malseed12/08/2021, 5:06 AM
to false, and then manually advancing the clock - but this doesn’t work very well when I actually want the UI test to take control of the clock. Lottie has the ability to pass in a property representing whether an animation should run a finite number of times, or infinitely. I could pass in a different value for this to the Composable - but this feels akin to making something mutable just for the purpose of testing..
Benoît12/08/2021, 9:35 AM
Tim Malseed12/08/2021, 10:32 AM
Benoît12/08/2021, 11:24 AM
and you wouldn’t want these to rely on any ViewModel
Tim Malseed12/08/2021, 11:26 AM