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 was a great exercise! You left a trail of easter eggs leading right to some really nice tips about testing the redux store.
I could have submitted this exercise a lot earlier if I hadn't run into issues with testing. Specifically, unit testing connected components. The short answer is: I don't know what I'm doing.
mapStateToProps seems to be clashing with the simulated state that I'm attempting to pass to my components as props. I suspect that there's an easy solution that I'm missing here, but I will continue to write tests in other areas in the meantime, along with general refactoring.
As always, questions/comments are welcome!
The text was updated successfully, but these errors were encountered:
Just a note on the previous unit-testing issue. Turns out I needed to export my components separately from the Redux store. My component files now contain two exports:
site: https://rejection.manos.now.sh/
repo: https://github.com/mfountoulakis/rejection
This was a great exercise! You left a trail of easter eggs leading right to some really nice tips about testing the redux store.
I could have submitted this exercise a lot earlier if I hadn't run into issues with testing. Specifically, unit testing connected components. The short answer is: I don't know what I'm doing.
mapStateToProps seems to be clashing with the simulated state that I'm attempting to pass to my components as props. I suspect that there's an easy solution that I'm missing here, but I will continue to write tests in other areas in the meantime, along with general refactoring.
As always, questions/comments are welcome!
The text was updated successfully, but these errors were encountered: