<@U0BFDUP0E> <@U0F8Y5E5A> about yesterday’s rx es...
# android
r
@jw @mg6maciej about yesterday’s rx espresso idling. I’ve found this gist: https://gist.github.com/aahlenst/8d3958ceceb971465873e5818ba6fd1f and then simply made
@BeforeClass
in test
Copy code
@BeforeClass
public static void setUp() throws Exception {
  RxIdlingResource rxIdlingResource = new RxIdlingResource();
  Espresso.registerIdlingResources(rxIdlingResource);
  RxJavaPlugins.setScheduleHandler(rxIdlingResource);
}
m
rwachol: LGTM, but I don't need idling resource 🙂
r
if you’ve ever need 😉 it’s better to know
m
Yes, I know the concept, but mocking apis to return
just(...)
is fast.