I wrote a test in commonMain, it uses `= runTest` ...
# multiplatform
m
I wrote a test in commonMain, it uses
= runTest
and internally it uses
GlobalScope.launch
but this call is blocking forever and the callback I'm passing to it doesn't ever run, how can I debug this?
c
Which call is blocking?
launch
doesn't block (or even suspend)
m
I know it doesn't but if I surrounded the launch with println and I can see it get to the first one and not the second one
For more context it seems that the issue is related to the dispatcher I pass to launch, this only happens when I'm running that tests on ios and when the dispatcher is Main