singleThreaded

Returns a test configuration which wraps a single-threaded dispatcher around a TestElement's execution.

Child elements inherit the single-threaded dispatcher as part of their CoroutineContext.