react-testing-library or enzyme code example Example: enzyme testing npm i --save-dev enzyme enzyme-adapter-react-16