Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- this.program
- ...
- .option('-b, --list-browsers [provider]', 'output the aliases for local browsers or browsers available through the specified browser provider')
- .option('-r, --reporters <name[:outputFile][,...]>', 'specify the reporters and optionally files where reports are saved')
- .option('--reporter <name[:outputFile][,...]>', '[OBSOLETE] specify the reporter. Use --reporters instead')
- .option('-s, --screenshots <path>', 'enable screenshot capturing and specify the path to save the screenshots to')
- ...
- async _parseReporters () {
- const reportersArg = this.opts.reporters || this.opts.reporter;
- if (!reportersArg) {
- this.opts.reporters = [];
- return;
- }
- const reporters = this.opts.reporter.split(',');
Add Comment
Please, Sign In to add comment