[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#942510: ITP: proxyquire -- mocking tool to stub dependencies in Node.js



Package: wnpp
Severity: wishlist
Owner: Jonas Smedegaard <dr@jones.dk>

* Package name     : node-proxyquire
  Version          : 2.1.3
  Upstream Author  : Thorsten Lorenz <thlorenz@gmx.de>
* Url              : https://github.com/thlorenz/proxyquire
* Licenses         : Expat
  Programming Lang : JavaScript

 Proxyquire proxies nodejs's require
 in order to make overriding dependencies during testing easy
 while staying totally unobtrusive.
 .
  * No changes to your code are necessary.
  * Non overridden methods of a module behave like the original.
  * Mocking framework agnostic,
    if it can stub a function then it works with proxyquire.
  * "use strict" compliant.

This package is a dependency of eslint.

I plan to maintain this package in the JavaScript team, keeping 
debianization in following Git repository:

     https://salsa.debian.org/js-team/node-proxyquire.git

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature


Reply to: