react testing library u must install peer dependencies yourself. code example Example: install react react testing library npm install --save-dev @testing-library/react