Takes in jest mock function.
jest.fn()
Re-maps all jest.fn().mock.calls array to the ActionTester compatible version
An array of actions
Calls the action with the provided jest.fn();
Dispatches an action and recursively executes all thunks of an action and it's subsequent actions.
TestAction | Function
Promise
Retrieves the action from the provided jest.fn()
Sets the remaining 2 arguments of a thunk action.
Mock store.getState function
Mock values injected via thunk.withExtraArgument
void
Generates a snapshot of the dispatched actions.
A pretty-formatted stringified value.
Gets a object containing step functions to step through the calls.
An action tracer
Gets an array of action.type of dispatched actions
An array of action.type
Generated using TypeDoc
An ActionTester class which is jest compatible