re: How do /you/ write tests for React components? VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I do TDD my actions-reducers-helpers and only snapshot tests the ui. I find quite silly TDD components, as in: IT SHOULD HAVE A BUTTON RUN ...
 

That's what I've been doing. I've seen some posts from avid TDD practitioners and wanted to know how they go about it beyond a simple tutorial.

 

if you say something like I did on reddit, people will downvote you to death :D

here you can say it out loud, is freeing:

TDD ON COMPONENTS IS USELESS

code of conduct - report abuse