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/2291
And 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
chaos.social – a Fediverse instance for & by the Chaos community