Anyone here a Kotlin (coroutine) expert and got some time to help me out?
I upgraded kotlinx-coroutines to the newest version 1.6.0.It deprecates TestCoroutineDispatcher. The migration guide suggests to use StandardTestDispatcher or UnconfinedTestDispatcher instead, but both just don't work and it is driving me crazy.
Here is the upgrade to coroutines 1.6.0 https://github.com/tuskyapp/Tusky/pull/2291And here is the test I want to update so it doesn't use deprecated stuff: https://github.com/tuskyapp/Tusky/blob/update_deps/app/src/test/java/com/keylesspalace/tusky/components/timeline/TimelineViewModelTest.kt
Spent way too much time on this already. Should I open a ticket on the coroutine Gitlab? 🤔
chaos.social – a Fediverse instance for & by the Chaos community