Message from JavaScript discussions
September 2018
— I don't know, it ends after sending the second email
Server started...
Message sent: <78707965-127f-0c3f-93f1-cf32331c5658hotmail.com>
Preview URL: false
Message sent: <394a12f1-272e-534e-93f8-bf268f1a5971hotmail.com>
Preview URL: false
— Those are the messages
— Hey guys, im working mainly with react at the moment, i wanted to test my components for a while now...
i use redux in a lot of components (i know keep components stupid & pure as possible, i keep my eye on that).
even thinking of testing the components is a overkill, mocking all the server data first and then writing test cases 🤷♂️
— How would ya'll approach that?
— I debug with marvelous chrome debugger tool. using debugger keyword primarily.
— Ok but is component testing possible with that?
— How would you verify tests?
— You would only be able to check that components contain the correct data, not how they look or behave
— Hi
— He's talking about testing, not debugging
— There are tools for that actually