mock-protractor.js
function getModuleCode(mocks) {
	var filename = path.join(__dirname, './mock-angular.js');
	var code = fs.readFileSync(filename, 'utf8');
	return code.replace(/angular\.noop\(\);/, getModuleConfig(mocks));
}
function getModuleCode(mocks) {
	var filename = path.join(__dirname, './mock-angular.js');
	var code = fs.readFileSync(filename, 'utf8');
	return code.replace(/angular\.noop\(\);/, getModuleConfig(mocks));
}
function getModuleCode ( mocks ) { var filename = path . join ( __dirname , './mock-angular.js' ) ; var code = fs . readFileSync ( filename , 'utf8' ) ; return code . replace ( / angular\.noop\(\); / , getModuleConfig ( mocks ) ) ; }
Get AngularJS module code to inject into browser
@param mocks []
@returns {string}
Get AngularJS module code to inject into browser