Skip to content
Simple require mock to allow DI in unit tests.
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
README.md
package.json

README.md

morgue

Mocking require silent

Usage

var morquire = require('morgue');
var project_awesome = morquire('awesome', {'dep': {}, 'enden': {'cies' : function () { return "are cold"} } });
Something went wrong with that request. Please try again.