MutableDispatchScope

The scope for mutating com.daftmobile.redukt.core.DispatchScope behaviour in tests.

Functions

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

Sets a block that will be called on every dispatch called by component under test. Each call replaces previously provided block.

Properties

Link copied to clipboard
abstract var closure: DispatchClosure
Link copied to clipboard
abstract var currentState: State

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard