-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
feat(store): add API to mock selectors #1688
Conversation
b569bdf
to
2d9f8ac
Compare
Preview docs changes for 2d9f8ac at https://previews.ngrx.io/pr1688-2d9f8ac/ |
i'll try it this week! amazing! thank you very much. I am introducing ngrx to a company and this will be really helpful! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Neat! Just a few nits
558b132
to
97e3534
Compare
97e3534
to
e9f13fe
Compare
Preview docs changes for 558b132 at https://previews.ngrx.io/pr1688-558b132/ |
Preview docs changes for e9f13fe at https://previews.ngrx.io/pr1688-e9f13fe/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Closes #1504
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Closes #1504
What is the new behavior?
Does this PR introduce a breaking change?
Other information
Adds a
MockStore#overrideSelector(string | selector)
method that short-circuits returned values from selectors. Covers mocking different types of selectors: