You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
After update to 0.30.1 I can't run Unit tests because
Dispatchers
try to initializeDipsatchers.Main
on first access andkotlinx-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
withTestCoroutineContext
, that's why it something in library try to access tokotlinx.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?The text was updated successfully, but these errors were encountered: