Closed
Description
After update to 0.30.1 I can't run Unit tests because Dispatchers
try to initialize Dipsatchers.Main
on first access and kotlinx-coroutines-android
try to instanciate HandlerDispatcher that can't be done because Handler and Looper don't work on stub Android SDK.
For Unit tests I replace all CoroutineContext
with TestCoroutineContext
, that's why it something in library try to access to kotlinx.coroutines.experimental.Dispatchers
.
How I can replace Dipsatchers.Main
for unit tests or any other solutions for run my Unit test with 0.30.1?