[android-components](../index.md) / [mozilla.components.support.test.rule](index.md) / [createTestCoroutinesDispatcher](./create-test-coroutines-dispatcher.md)

# createTestCoroutinesDispatcher

`fun createTestCoroutinesDispatcher(): CoroutineDispatcher` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/support/test/src/main/java/mozilla/components/support/test/rule/MainCoroutineRule.kt#L21)

Create single threaded dispatcher for test environment.

