Skip to content

Testing component injected with mobx store #77

@tag6071

Description

@tag6071

Hi, I appreciate the awesome work done to birth this package.

I have been trying to test an angular component which has a mobx store injected into it but I can't seem to get a way to mock the mobx store such that I can dynamically change the values returned by some methods in the store. with ng-redux I can do something like MockNgRedux.getSelectorStub(selectorComponent) to stub out the selector.

So i'll like to know if there is a way this can be done when testing a component which makes use of mobx-angular

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