MainDispatcher
fun MainDispatcher(mainDispatcher: CoroutineDispatcher? = null, testConfig: TestConfig = TestConfig): TestCompartment(source)
A compartment executing its tests sequentially and establishing a Main dispatcher.
If mainDispatcher is null, a single-threaded dispatcher is used. testConfig overrides the compartment's default configuration.