I am trying to use a function in another module i am not able to use it may i know what is the issue?
this.test = function(callback) {
callback('i am test');
};
module.exports.config = function (settings, callback) {
this.test(function(err,res){
console.log(res);
});
};