enzyme : JavaScript Testing utilities for React. You can installing enzyme npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install enzyme $ sudo npm install -g enzyme
If want to update the enzyme package execute the command as below,
$ sudo npm update enzyme
Update package globally,
$ npm install -g enzyme
$ sudo git clone https://github.com/rektide/enzyme.git
$ sudo npm install -g ./enzyme
enzyme@3.2.0 /usr/lib/node_modules/enzyme
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall enzyme
Package Name | enzyme |
Version | 3.2.0 |
Description | JavaScript Testing utilities for React |
Released Date | 2017-11-15T08:20:46.922Z |
Published by | ljharb |
How to Learn | https://www.npmjs.com/package/enzyme/tutorial |