Package com.apollographql.apollo3.testing.internal

Functions

Link copied to clipboard
actual fun runTest(    skipDelays: Boolean,     context: CoroutineContext,     before: suspend CoroutineScope.() -> Unit,     after: suspend CoroutineScope.() -> Unit,     block: suspend CoroutineScope.() -> Unit)
expect fun runTest(    skipDelays: Boolean = false,     context: CoroutineContext = EmptyCoroutineContext,     before: suspend CoroutineScope.() -> Unit = {},     after: suspend CoroutineScope.() -> Unit = {},     block: suspend CoroutineScope.() -> Unit)

Utility method that executes the given block with optional before and after blocks.

actual fun runTest(    skipDelays: Boolean,     context: CoroutineContext,     before: suspend CoroutineScope.() -> Unit,     after: suspend CoroutineScope.() -> Unit,     block: suspend CoroutineScope.() -> Unit)
actual fun runTest(    skipDelays: Boolean,     context: CoroutineContext,     before: suspend CoroutineScope.() -> Unit,     after: suspend CoroutineScope.() -> Unit,     block: suspend CoroutineScope.() -> Unit)