Move coroutine tests to use kotlinx-coroutines-test instead of runBlockingTest
Munzey opened this issue · comments
Tristan H commented
See Roman's latest comment: https://youtrack.jetbrains.com/issue/KT-22228#focus=Comments-27-4791713.0-0
Michael Bull commented
Also may be relevant: https://blog.jetbrains.com/kotlin/2021/04/kotlin-1-5-0-rc-released/#test-library-changes
Michael Bull commented
For some reason, the kotlinx-coroutines-test
library depends on kotlinx-coroutines-core-jvm
, so it isn't cross-platform and thus can't replace the runBlockingTest
in this library.
Looks like I'm not the only one to find this strange...
Michael Bull commented
Going to close this issue until Kotlin/kotlinx.coroutines#1996 is resolved.