How to Install and Uninstall node-lolex Package on Ubuntu 21.10 (Impish Indri)

Last updated: December 28,2024

1. Install "node-lolex" package

This guide let you learn how to install node-lolex on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install node-lolex

2. Uninstall "node-lolex" package

Please follow the guidelines below to uninstall node-lolex on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove node-lolex $ sudo apt autoclean && sudo apt autoremove

3. Information about the node-lolex package on Ubuntu 21.10 (Impish Indri)

Package: node-lolex
Architecture: all
Version: 5.1.2+ds-2
Priority: optional
Section: universe/web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 175
Depends: nodejs, node-type-detect
Filename: pool/universe/n/node-lolex/node-lolex_5.1.2+ds-2_all.deb
Size: 25848
MD5sum: c63b934361a25e4b2c4f3a23bde60647
SHA1: 574580dd57f33c08943b0e496ea2b803715cc020
SHA256: 96974a7409e83feb6293337d9bbdfef54071ceea4e7a3e9ffdf2316573219d95
SHA512: 55cf6295600fef4bf5ff7c879b771ce2dc5b95244b9bab0d684b2efcece369460b7c0b8a023f6523883f0c570d8a606bed0bd7e4612a407090bb7e7b1ed7afd4
Homepage: https://github.com/sinonjs/lolex
Description-en: Fake JavaScript timers
JavaScript implementation of the timer APIs; setTimeout, clearTimeout,
setImmediate, clearImmediate, setInterval and clearInterval, along with a
clock instance that controls the flow of time. Lolex also provides a Date
implementation that gets its time from the clock.
.
Lolex can be used to simulate passing time in automated tests and other
situations where you want the scheduling semantics, but don't want to
actually wait. Lolex is extracted from Sinon.JS.
Description-md5: dbd54fd5659e48e9dbfe87ddd247db9a