Testing your code is essential in todays world. You must ensure that you keep your state powerful, consistent, and understandable. Redux is framework agnostic so writing tests for it is super easy.

Actions

Actions define all the ways your state can change. Everything the user can perform an action on will be defined.