Bug#1008182: ITP: node-rewire -- Easy monkey-patching for node.js unit tests
Package: wnpp
Severity: wishlist
Owner: Nilesh Patra <nilesh@debian.org>
X-Debbugs-CC: debian-devel@lists.debian.org
* Package name : node-rewire
Version : 6.0.0
Upstream Author : Johannes Ewald <mail@johannesewald.de>
* URL : https://github.com/jhnns/rewire
* License : Expat
Programming Lang: JavaScript
Description : Easy monkey-patching for node.js unit tests
rewire adds a special setter and getter to modules making it
possible to modify their behaviour for better unit testing.
It provides functionality for
.
+ inject mocks for other modules or globals like process
+ inspect private variables
+ override variables within the module.
.
Node.js is an event-based server-side JavaScript engine.
Reply to: