enzyme npm install

Shell
npm i --save-dev enzyme enzyme-adapter-react-16 enzyme-to-json

// Yarn
yarn add --dev enzyme enzyme-adapter-react-16 enzyme-to-jsonnpm i --save-dev enzyme enzyme-adapter-react-16
Source

Also in Shell: