how to test react in react testing library code example Example: install react react testing library npm install --save-dev @testing-library/react