Hi Anthony, fan of your work and I appreciate the feedback.
Yes, I absolutely agree, and I really hope the intention of the post isn't lost in the details of the examples I used.
I'm more trying to convey the concept of what it looks like to have tests drive what you code rather then going back and writing tests after writing code.
I hope the examples didn't distract from the concept, even though I think testing a props validator is useful.
But I'll go back and choose some better examples if you think the point gets that lost.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.