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
The description says that the the reducer should return an object with the authenticated property set to either true or false. The test description says
Dispatching loginUser should update the login property in the store's state to true.
Dispatching logoutUser should update the login property in the store's state to false.
This is a bit missleading as test descriptions could be interpreted as stating that the reducer should return an object with a login property.
A simple fix would be to change the relevant test descriptions.
The text was updated successfully, but these errors were encountered:
@Pethaf yes I agree with you. Good job finding this, I've made the changes to these tests, feel free to take a look and open any new issues if you find something else. Thank you!
The description says that the the reducer should return an object with the authenticated property set to either true or false. The test description says
This is a bit missleading as test descriptions could be interpreted as stating that the reducer should return an object with a login property.
A simple fix would be to change the relevant test descriptions.
The text was updated successfully, but these errors were encountered: