jest.fn().mock.calls
A Test Action defines actions which conforms to either an AsyncAction or an AnyAction.
ThunkArgs refers to the "getState" and "extraArguments" parameters of a thunk. For reference, a thunk is called with the following signature (dispatch, getState, extraArguments.)
In the context of this project, these are used with mocks to guide the executed thunk to a particular execution flow for testing.
Action type for those functions that returns a thunk
Alias for actionNormalizer
Creates a snapshot representation for all values within an array
An array of actions.
A pretty-formatted stringified list of actions.
Normalizes actions by converting thunks into an AsyncAction
An action or thunk
An action object
Creates a snapshot friendly representation of an action.
An action or thunk.
A pretty-formatted stringified action or thunk.
Creates a snapshot representation of entire action call stack of an ActionStore
An ActionStore compatible instance.
A pretty-formatted stringified list of actions.
Gets a tracer instance for the specified ActionStore
An ActionStore compatible instance.
An action tracer
Gets an array of action.types from the call stack of the specified ActionStore
An ActionStore compaitble instance
An array of action.types
An action runner runs an action and recursively executes all thunks that are found within the executed action as well and it's subsequent actions.
An ActionStore compatible instance.
getState and extraArguments of a thunk
An action runner.
Normalizes and stringifies the values using pretty-format
Any value
A pretty-formatted stringified value.
Generated using TypeDoc
CallList is a lit of TestActions which are executed during the process of executing a thunk.