ReduKt
redukt-test-thunk
/
com.daftmobile.redukt.test.thunk
/
ThunkTestScope
Thunk
Test
Scope
interface
ThunkTestScope
<
State
>
:
MutableDispatchScope
<
State
>
,
ActionsAssertScope
The scope for a thunk under test.
Functions
Properties
Functions
clear
Actions
History
Link copied to clipboard
abstract
fun
clearActionsHistory
(
)
on
Dispatch
Link copied to clipboard
abstract
fun
onDispatch
(
block
:
MutableDispatchScope
<
State
>
.
(
Action
)
->
Unit
)
test
Execute
Link copied to clipboard
abstract
fun
testExecute
(
)
Executes thunk function.
Properties
closure
Link copied to clipboard
abstract
var
closure
:
DispatchClosure
current
State
Link copied to clipboard
abstract
var
currentState
:
State
history
Link copied to clipboard
abstract
val
history
:
List
<
Action
>
unverified
Link copied to clipboard
abstract
val
unverified
:
Queue
<
Action
>