onDispatch

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.