runTestWithLegacyScope

fun runTestWithLegacyScope(context: CoroutineContext = EmptyCoroutineContext, dispatchTimeoutMs: Long = DEFAULT_DISPATCH_TIMEOUT_MS, testBody: suspend TestCoroutineScope.() -> Unit)(source)

Deprecated (with error)

Use `runTest` instead.

This is an overload of runTest that works with TestCoroutineScope.