https://kotlinlang.org logo
Title
r

ribesg

05/14/2019, 9:24 AM
How do you use coroutines in multiplatform tests? Do you need to
expect
runBlocking functions?
g

gildor

05/14/2019, 9:25 AM
Yes, there is also experimental runBlockingTest
r

ribesg

05/14/2019, 9:27 AM
I found
kotlinx-coroutines-test
which has some useful things but only for jvm 😕
g

gildor

05/14/2019, 9:27 AM
ahh, yes, you right
r

ribesg

05/14/2019, 9:30 AM
So I need to implement everything I need myself and copy-paste that in all my projects... lame
g

gildor

05/14/2019, 9:33 AM
it also contains required workarounds for JS
r

ribesg

05/14/2019, 9:42 AM
Thanks