Guest User

Untitled

a guest
Oct 17th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. this.program
  2. ...
  3. .option('-b, --list-browsers [provider]', 'output the aliases for local browsers or browsers available through the specified browser provider')
  4. .option('-r, --reporters <name[:outputFile][,...]>', 'specify the reporters and optionally files where reports are saved')
  5. .option('--reporter <name[:outputFile][,...]>', '[OBSOLETE] specify the reporter. Use --reporters instead')
  6. .option('-s, --screenshots <path>', 'enable screenshot capturing and specify the path to save the screenshots to')
  7. ...
  8. async _parseReporters () {
  9. const reportersArg = this.opts.reporters || this.opts.reporter;
  10.  
  11. if (!reportersArg) {
  12. this.opts.reporters = [];
  13. return;
  14. }
  15.  
  16. const reporters = this.opts.reporter.split(',');
Add Comment
Please, Sign In to add comment