DEV Community

John Snow
John Snow

Posted on

How to test a component independently

I am working with ReactJS and I have many components in my project. I wish I could run stand alone once component on my browser for testing. Is it right on that?

Top comments (1)

Collapse
 
dorshinar profile image
Dor Shinar • Edited

There are a number of options, depending on your specific need, but either a combination of jest + enzyme (for unit testing), storybook or react-cosmos will probably be what you're looking for.