DEV Community

[Comment from a deleted post]
Collapse
 
kamranayub profile image
Kamran Ayub

Nice, especially the advice to test from a consumer POV, I see the wrong way done a lot by folks just starting. One awesome lib that kinda enforces this philosophy is github.com/kentcdodds/react-testin...

The cool part is the way you write the unit tests can also be done writing the Cypress or functional tests!