> For the complete documentation index, see [llms.txt](https://notes.danfitz.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://notes.danfitz.com/javascript/react-testing/4-redux-thunk-testing.md).

# Redux Thunk Testing

In redux, a **thunk** is a function that returns a function. Within that function, you can then perform more complex redux state management. For example, you could dispatch multiple actions and include control flow statements.

`redux-thunk` is a middleware.
