Enzyme example Jest Example project using: React JS Jest Enzyme How to run the tests: npm test With coverage: npm test -- --coverage Specific tests (in this case for MyComponent-test.js): npm test -- MyComponent