react testing library within code example Example: install react react testing library Click to copynpm install --save-dev @testing-library/react