Change-Id: Iee06da9ddded4ed5ba19bbfd5652b4a7a38f4cb9
@ -30,7 +30,7 @@ import org.junit.runner.Description
* for the duration of the test.
*/
class MainDispatcherRule(
private val testDispatcher: TestDispatcher = UnconfinedTestDispatcher(),
val testDispatcher: TestDispatcher = UnconfinedTestDispatcher(),
) : TestWatcher() {
override fun starting(description: Description) = Dispatchers.setMain(testDispatcher)