jest and enzyme react code example Example: enzyme testing npm i --save-dev enzyme enzyme-adapter-react-16