Testing Reducers

Learn how to unit test the NgRx reducers.

Introduction

In the products module of our application, we have defined three actions. We handled those actions in the src/app/products/state/products.reducers.ts file with the productsReducer.

Get hands-on with 1300+ tech skills courses.