Name : nodejs-rewire
| |
Version : 2.5.2
| Vendor : Fedora Project
|
Release : 5.fc29
| Date : 2018-07-14 20:30:44
|
Group : Unspecified
| Source RPM : nodejs-rewire-2.5.2-5.fc29.src.rpm
|
Size : 0.03 MB
| |
Packager : Fedora Project
| |
Summary : Easy dependency injection for node.js unit testing
|
Description :
Rewire adds a special setter and getter to modules so you can modify their behavior for better unit testing. You may:
* Inject mocks for other modules or globals like process * Leak private variables * Override variables within the module.
Rewire does not load the file and eval the contents to emulate node\'s require mechanism. In fact it uses node\'s own require to load the module. Thus your module behaves exactly the same in your test environment as under regular circumstances (except your modifications).
|
RPM found in directory: /vol/rzm3/linux-fedora-buffet/alt/risc-v/repo/fedora/rawhide/25835/riscv64/Packages/n |