…hread.sleep(time) in tests because it will make them very slow and indeterministic. That’s when the TestSchedeler becomes very useful.Unit Testing asynchronous RxJava code (in Kotlin)6314Paulina SadowskaValery KuznetsovFollowSep 4, 2018 · 1 min readYou probably meant TestScheduler