Skip to content
Sections
>> Trisquel >> パッケージ >> aramo >> javascript >> node-proxyquire
nabia  ] [  aramo  ]
[ ソース: node-proxyquire  ]

パッケージ: node-proxyquire (2.1.3+~1.0.1+~1.0.2-12)

mocking tool to stub dependencies in Node.js

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.

その他の node-proxyquire 関連パッケージ

  • 依存
  • 推奨
  • 提案
  • enh: node-sinon
    JavaScript test spies, stubs and mocks

node-proxyquire のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
all 24.5 kB118 kB [ファイル一覧]