ThunkTestScope

fun <State> ThunkTestScope(thunk: Thunk<State>, initialState: State, initialClosure: DispatchClosure = EmptyDispatchClosure, initialOnDispatch: MutableDispatchScope<State>.(Action) -> Unit = { }): ThunkTestScope<State>

Creates ThunkTestScope for a thunk with initialState, initialClosure and initialOnDispatch.