CoThunkTestScope

The scope for a suspending thunk under test.

Functions

Link copied to clipboard
abstract fun clearActionsHistory()
Link copied to clipboard
abstract fun onDispatch(block: MutableDispatchScope<State>.(Action) -> Unit)
Link copied to clipboard
abstract suspend fun testExecute()

Executes thunk suspending function.

Properties

Link copied to clipboard
abstract var closure: DispatchClosure
Link copied to clipboard
abstract var currentState: State
Link copied to clipboard
abstract val history: List<Action>
Link copied to clipboard
abstract val unverified: Queue<Action>