re: What I've Learned About Testing React Apps - Part 1: Unit Tests VIEW POST


Great post, really good take on the benefits and the purpose of testing!

You mentioned that if a prop name changes that you don't want your test to break, I think I may have misunderstood this but in order to render the component you would need to specify props so wouldn't a name change always break your tests?

code of conduct - report abuse