Hey, How do you do unit testing with coroutines? R...
# android
d
Hey, How do you do unit testing with coroutines? Right now my test fails with
Module with the Main dispatcher had failed to initialize
error. I tried to google it I’ve found some issues on github like https://github.com/Kotlin/kotlinx.coroutines/issues/658 in closed state and related PR but I dont get from the code what should I do to swap
Main
Dispatcher in my tests. Any reference?