aboutsummaryrefslogtreecommitdiff
path: root/coroutine-utils-testing/src
diff options
context:
space:
mode:
Diffstat (limited to 'coroutine-utils-testing/src')
-rw-r--r--coroutine-utils-testing/src/main/kotlin/app/passwordstore/test/CoroutineTestRule.kt3
1 files changed, 3 insertions, 0 deletions
diff --git a/coroutine-utils-testing/src/main/kotlin/app/passwordstore/test/CoroutineTestRule.kt b/coroutine-utils-testing/src/main/kotlin/app/passwordstore/test/CoroutineTestRule.kt
index 785d438f..e5e01ba9 100644
--- a/coroutine-utils-testing/src/main/kotlin/app/passwordstore/test/CoroutineTestRule.kt
+++ b/coroutine-utils-testing/src/main/kotlin/app/passwordstore/test/CoroutineTestRule.kt
@@ -28,8 +28,11 @@ public class CoroutineTestRule(
public val testDispatcherProvider: DispatcherProvider =
object : DispatcherProvider {
override fun default(): CoroutineDispatcher = testDispatcher
+
override fun io(): CoroutineDispatcher = testDispatcher
+
override fun main(): CoroutineDispatcher = testDispatcher
+
override fun unconfined(): CoroutineDispatcher = testDispatcher
}