mockery : Simplifying the use of mocks with Node.js. You can installing mockery 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 mockery $ sudo npm install -g mockery
If want to update the mockery package execute the command as below,
$ sudo npm update mockery
Update package globally,
$ npm install -g mockery
$ sudo git clone https://github.com/rektide/mockery.git
$ sudo npm install -g ./mockery
mockery@2.1.0 /usr/lib/node_modules/mockery
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall mockery
Package Name | mockery |
Version | 2.1.0 |
Description | Simplifying the use of mocks with Node.js |
Released Date | 2017-06-26T12:25:08.585Z |
Published by | davglass |
How to Learn | https://www.npmjs.com/package/mockery/tutorial |