sinon-chai : Extends Chai with assertions for the Sinon.JS mocking framework.. You can installing sinon-chai 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 sinon-chai $ sudo npm install -g sinon-chai
If want to update the sinon-chai package execute the command as below,
$ sudo npm update sinon-chai
Update package globally,
$ npm install -g sinon-chai
$ sudo git clone https://github.com/rektide/sinon-chai.git
$ sudo npm install -g ./sinon-chai
sinon-chai@2.14.0 /usr/lib/node_modules/sinon-chai
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall sinon-chai
| Package Name | sinon-chai |
| Version | 2.14.0 |
| Description | Extends Chai with assertions for the Sinon.JS mocking framework. |
| Released Date | 2017-09-28T16:12:24.370Z |
| Published by | domenic |
| How to Learn | https://www.npmjs.com/package/sinon-chai/tutorial |