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
However, the first method throws an error because:
and in the transpiled source it looks like action.type.toString() is called unguardedly. Now, maybe I'm misunderstanding how FSAs work, but I think it makes sense for a reducer test to be able to check that the initial state is returned when the action type is missing. I can try to make a PR for this as well, if you think I'm correct about the expected behaviour.
If not, could you please fill me in on what I'm missing? Thanks!