lolex : Fake JavaScript timers. You can installing lolex 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 lolex $ sudo npm install -g lolex
If want to update the lolex package execute the command as below,
$ sudo npm update lolex
Update package globally,
$ npm install -g lolex
$ sudo git clone https://github.com/rektide/lolex.git
$ sudo npm install -g ./lolex
lolex@2.3.1 /usr/lib/node_modules/lolex
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall lolex
Package Name | lolex |
Version | 2.3.1 |
Description | Fake JavaScript timers |
Released Date | 2017-11-22T15:56:21.007Z |
Published by | fatso83 |
How to Learn | https://www.npmjs.com/package/lolex/tutorial |