Robert
02/12/2020, 12:33 PMsuspend
functions in Tests? runBlockingTest {..}
from kotlinx-coroutines-test or is there some spring equivalent?Jonas Bark
02/13/2020, 7:00 AMprivate val mainThreadSurrogate = newSingleThreadContext("UI thread")
@Before
fun setUp() {
Dispatchers.setMain(mainThreadSurrogate)
}