runTest

expect inline fun runTest(    context: CoroutineContext = EmptyCoroutineContext,     dispatchTimeoutMs: Long,     noinline testBody: suspend TestScope.() -> Unit): TestResult
expect inline fun TestScope.runTest(dispatchTimeoutMs: Long, noinline testBody: suspend TestScope.() -> Unit): TestResult

See also

kotlinx.coroutines.test.runTest
actual inline fun runTest(    context: CoroutineContext = EmptyCoroutineContext,     dispatchTimeoutMs: Long,     noinline testBody: suspend TestScope.() -> Unit): TestResult
actual inline fun TestScope.runTest(dispatchTimeoutMs: Long, noinline testBody: suspend TestScope.() -> Unit): TestResult

See also

kotlinx.coroutines.test.runTest