Merge pull request #1017 from mariomanhique/mariomanhique-main-dispatcher-rule-1

Update MainDispatcherRule.kt
pull/984/merge
Don Turner 8 months ago committed by GitHub
commit 5f5bd91a68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save