trackr
trackr copied to clipboard
the function of CoroutineTestRule
fun runBlockingTest(
block: suspend TestCoroutineScope.() -> Unit
) = testDispatcher.runBlockingTest {
block()
}
Suggest to write this:
fun runBlockingTest(
block: suspend TestCoroutineScope.() -> Unit
) = testDispatcher.runBlockingTest ( block )