coroutinesTest

open fun coroutinesTest(context: CoroutineContext = dispatchers.Main, block: suspend TestCoroutineScope.() -> Unit)

Use this for ensure that the test block is running on the provided dispatcher and avoid errors like Job has not completed yet