ThunkTestScope

The scope for a 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 fun testExecute()

Executes thunk 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>