api documentation for mock-require (v2.0.2)

Simple, intuitive mocking of Node.js modules.

table of contents

  1. module mock-require
    1. function mock-require (path, mockExport)
    2. function mock-require.reRequire (path)
    3. function mock-require.stop (path)
    4. function mock-require.stopAll ()

module mock-require

function mock-require (path, mockExport)

function mock-require.reRequire (path)

function mock-require.stop (path)

function mock-require.stopAll ()

[ this document was created with utility2 ]