react enzyme config code example
Example: how to install enzyme
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 enzyme-to-json
// Yarn
yarn add --dev enzyme enzyme-adapter-react-16 enzyme-to-json