Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to mock ngredux store in Jasmine Component Testing ? #211

Open
sagarsk15 opened this issue Oct 30, 2018 · 0 comments
Open

How to mock ngredux store in Jasmine Component Testing ? #211

sagarsk15 opened this issue Oct 30, 2018 · 0 comments

Comments

@sagarsk15
Copy link

sagarsk15 commented Oct 30, 2018

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant