function. From this test I'm running code that launches coroutine from
MainScope
object that is suppose to have
TestCoroutineDispatcher
but I can't seem to run
delay
function inside that coroutine because I'm getting
UncompletedCoroutinesError
exception. Is my test setup wrong or I just can't test a code that has
delay
functions?
I don't really need that delay but was just wondering why it doesn't work, I thought that runBlocking and TestCoroutineDispatcher will take care of such cases
Maciek
03/25/2020, 8:15 PM
I think I've got a problem with junit5 extension (rule in junit4), I'm running the code to replace the dispatcher but that doesn't have desired effect..