Как установить фермент
npm i --save-dev enzyme enzyme-adapter-react-16 enzyme-to-json
// Yarn
yarn add --dev enzyme enzyme-adapter-react-16 enzyme-to-json
Salo Hopeless
npm i --save-dev enzyme enzyme-adapter-react-16 enzyme-to-json
// Yarn
yarn add --dev enzyme enzyme-adapter-react-16 enzyme-to-json
npm i --save-dev enzyme enzyme-adapter-react-16