Testing React component with Enzyme An example on how to test your React component using Airbnb's Enzyme with Mocha. Run the tests using npm run test.