Package-level declarations

Types

Link copied to clipboard
actual typealias ApolloTestResult = Unit
expect class ApolloTestResult
actual typealias ApolloTestResult = Promise<Any>
actual typealias ApolloTestResult = Unit
actual typealias ApolloTestResult = Promise<JsAny>

Properties

Link copied to clipboard

Functions

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

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): ApolloTestResult
actual fun runTest(skipDelays: Boolean, context: CoroutineContext, before: suspend CoroutineScope.() -> Unit, after: suspend CoroutineScope.() -> Unit, block: suspend CoroutineScope.() -> Unit): ApolloTestResult
actual fun runTest(skipDelays: Boolean, context: CoroutineContext, before: suspend CoroutineScope.() -> Unit, after: suspend CoroutineScope.() -> Unit, block: suspend CoroutineScope.() -> Unit): ApolloTestResult

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