Hello everybody does anyone have sample code or github project showing how to write unit tests in Android for the new-ish stable Kotlin coroutines 1.x.x? I had a project using MVVM and Kotlin experimental coroutines. My unit tests are failing now that I upgraded. I added this:
testImplementation "org.jetbrains.kotlinxkotlinx coroutines test$rootProject.coroutineVersion"
and have resolved one of the issues but now I'm getting a getMainLooper is not mocked error. Was hoping someone could help me out, thanks!