You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will have the same result (the second parameter will be passed by redux-saga to your selector), but you can test test easily that the select function was called using the exampleSelector function and the other parameter.
Having issues testing a selector that takes other arguments besides state
I've also tried saving the selector as a separate variable:
Both returns this (using jest):
The text was updated successfully, but these errors were encountered: