Created
February 24, 2015 07:28
-
-
Save notthetup/ac5fc11792105fa8e047 to your computer and use it in GitHub Desktop.
How to stub this?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var DP = require('dependentModule'); | |
function MyModule (){ | |
var dp = new DP(); | |
this.someFunction = function(){ | |
dp.dependentFunction(); | |
} | |
} | |
module.exports = myModule |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment