lib/mockRequire.js
// Without a module name uninstall the mock require hooks.
Without a module name uninstall the mock require hooks.
Without a module name uninstall the mock require hooks .
function unmockRequire( moduleName ) {
    if (moduleName) {
        var path = resolveOrSelf(moduleName, unmockRequire);
        delete mockedModules[path];
    }
    else {
        Module.prototype.require = moduleRequire;
        Module._load = moduleLoad;
        mockedModules = {};
    }
}
function unmockRequire ( moduleName ) { if ( moduleName ) { var path = resolveOrSelf ( moduleName , unmockRequire ) ; delete mockedModules [ path ] ; } else { Module . prototype . require = moduleRequire ; Module . _load = moduleLoad ; mockedModules = { } ; } }
Without a module name uninstall the mock require hooks.
Without a module name uninstall the mock require hooks .