https://bugzilla.redhat.com/show_bug.cgi?id=1295037

            Bug ID: 1295037
           Summary: Review Request: nodejs-rewire - Easy dependency
                    injection for node.js unit testing
           Product: Fedora
           Version: rawhide
         Component: Package Review
          Assignee: nob...@fedoraproject.org
          Reporter: t...@compton.nu
        QA Contact: extras...@fedoraproject.org
                CC: package-review@lists.fedoraproject.org




Spec URL: http://tomh.fedorapeople.org//nodejs-rewire.spec
SRPM URL: http://tomh.fedorapeople.org//nodejs-rewire-2.5.1-1.fc23.src.rpm

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).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to