| 1 |
Source: node-rewire |
| 2 |
Section: javascript |
| 3 |
Priority: optional |
| 4 |
Maintainer: Debian Javascript Maintainers <[email protected]> |
| 5 |
Testsuite: autopkgtest-pkg-nodejs |
| 6 |
Build-Depends: |
| 7 |
debhelper-compat (= 13) |
| 8 |
, dh-sequence-nodejs |
| 9 |
, node-eslint <!nocheck> |
| 10 |
, node-mocha <!nocheck> |
| 11 |
, node-expect.js <!nocheck> |
| 12 |
, coffeescript <!nocheck> |
| 13 |
Standards-Version: 4.7.3 |
| 14 |
Homepage: https://github.com/jhnns/rewire |
| 15 |
Vcs-Git: https://salsa.debian.org/js-team/node-rewire.git |
| 16 |
Vcs-Browser: https://salsa.debian.org/js-team/node-rewire |
| 17 |
|
| 18 |
Package: node-rewire |
| 19 |
Architecture: all |
| 20 |
Depends: |
| 21 |
${misc:Depends} |
| 22 |
, node-eslint |
| 23 |
Description: Easy monkey-patching for node.js unit tests |
| 24 |
rewire adds a special setter and getter to modules making it |
| 25 |
possible to modify their behaviour for better unit testing. |
| 26 |
It provides functionality for |
| 27 |
. |
| 28 |
+ inject mocks for other modules or globals like process |
| 29 |
+ inspect private variables |
| 30 |
+ override variables within the module. |
| 31 |
. |
| 32 |
Node.js is an event-based server-side JavaScript engine. |