Merge pull request #843 from vector-im/feature/fga/coroutine_dispatcher

Feature/fga/coroutine dispatcher
This commit is contained in:
ganfra 2023-07-11 20:42:01 +02:00 committed by GitHub
commit ff23a54acc
9 changed files with 68 additions and 64 deletions

View file

@ -37,12 +37,10 @@ fun TestScope.testCoroutineDispatchers(
io = UnconfinedTestDispatcher(testScheduler),
computation = UnconfinedTestDispatcher(testScheduler),
main = UnconfinedTestDispatcher(testScheduler),
diffUpdateDispatcher = UnconfinedTestDispatcher(testScheduler),
)
false -> CoroutineDispatchers(
io = StandardTestDispatcher(testScheduler),
computation = StandardTestDispatcher(testScheduler),
main = StandardTestDispatcher(testScheduler),
diffUpdateDispatcher = StandardTestDispatcher(testScheduler),
)
}