The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Angular 1.x Redux: Test Reducers

Angular 1.x Redux: Test Reducers

10:35
One of the primary advantages of using redux is that reducers are incredibly easy to test. By nature, they have a clearly defined contract of inputs and outputs, and because they are stateless, they require very little instrumentation to test in isolation. We will start with a few simple tests for the categories reducer and then move on to testing the CRUD functionality within the bookmarks reducer.
Watch this lesson now
Avatar
egghead.io

One of the primary advantages of using redux is that reducers are incredibly easy to test. By nature, they have a clearly defined contract of inputs and outputs, and because they are stateless, they require very little instrumentation to test in isolation.

We will start with a few simple tests for the categories reducer and then move on to testing the CRUD functionality within the bookmarks reducer.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?