runas-functional-tests
Version:
Functional tests for runas
25 lines (18 loc) • 475 B
JavaScript
;
module.exports = {
check: function(resolve) {
this.logger.info('#magenta', 'check', 'Check all pre-requisites for the execution');
},
config: function(resolve, reject) {
this.logger.info('this.params.saludo: ', this.params.saludo);
this.sh('ls -las', null, true);
},
run: function(resolve, reject) {
reject({keep: true, error: 'TEST ERROR'});
},
emit: function() {
return {
flying: this.params.flying
};
}
};