Test Automation
Testing NgRx: Store, Effects, Selectors, and Reducers in Angular with TestBed
NgRx is the Redux-based state management library for Angular. Testing NgRx requires Angular's TestBed for dependency injection, along with NgRx's own testing utilities: provideMockStore, provideMockActions, and (optionally) jasmine-marbles for observable-based effects testing. Setup npm install @ngrx/store @ngrx/effects @ngrx/store-devtools npm install -D @ngrx/store/