Package io.ktor.test.dispatcher
Functions
Link copied to clipboard
expect fun testSuspend(context: CoroutineContext = EmptyCoroutineContext, timeoutMillis: Long = 60L * 1000L, block: suspend CoroutineScope.() -> Unit)
Content copied to clipboard
Test runner for common suspend tests.
actual fun testSuspend(context: CoroutineContext = EmptyCoroutineContext, timeoutMillis: Long = 60L * 1000L, block: suspend CoroutineScope.() -> Unit)
Content copied to clipboard
Test runner for js suspend tests.
actual fun testSuspend(context: CoroutineContext = EmptyCoroutineContext, timeoutMillis: Long = 60L * 1000L, block: suspend CoroutineScope.() -> Unit)
Content copied to clipboard
Test runner for jvm suspend tests.
actual fun testSuspend(context: CoroutineContext = EmptyCoroutineContext, timeoutMillis: Long = 60L * 1000L, block: suspend CoroutineScope.() -> Unit)
Content copied to clipboard
Test runner for native suspend tests.
actual fun testSuspend(context: CoroutineContext = EmptyCoroutineContext, timeoutMillis: Long = 60L * 1000L, block: suspend CoroutineScope.() -> Unit)
Content copied to clipboard
Test runner for native suspend tests.