ng-redux icon indicating copy to clipboard operation
ng-redux copied to clipboard

How to mock ngredux store in Jasmine Component Testing ?

Open sagarsk15 opened this issue 7 years ago • 0 comments

I am not able to mock ngredux state getting error in @select selector.

NgRedux is configured like : We have following files for configuration

  • store.epics.ts (EPICmiddlware)
  • store.model.ts (IAPPSTATE)
  • store.module.ts (which has INTITAL_STATE of the application)
  • store.reducer.ts (combinereducer

How to do this set up for testing angular components which uses NgRedux store?

sagarsk15 avatar Oct 30 '18 04:10 sagarsk15