-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
After bumping the library version to 1.10.1 and running my unit tests i'm getting an error:
Dispatchers.Main was accessed when the platform dispatcher was absent and the test dispatcher was unset. Please make sure that Dispatchers.setMain() is called before accessing Dispatchers.Main and that Dispatchers.Main is not accessed after Dispatchers.resetMain().
java.lang.IllegalStateException: Dispatchers.Main was accessed when the platform dispatcher was absent and the test dispatcher was unset. Please make sure that Dispatchers.setMain() is called before accessing Dispatchers.Main and that Dispatchers.Main is not accessed after Dispatchers.resetMain().
Once i downgrade the version to 1.9.0 everything works just fine.
Setting Dispatcher in @before annotation does not change anything.