Skip to content

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

Open
@sagarsk15

Description

@sagarsk15

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions