INNER CODE UNIT · JavaScript
Launcher
kiranz/just-api · lib/launcher.js:10
export default class Launcher extends EventEmitter {
constructor(specFiles, options) {
super();
this.specs = specFiles.slice(0);
this.options = options;
this.pendingFiles = specFiles.slice(0);
this.runningFiles = [];
this.suiteOptions = {};
this.parallel = options.parallel;
this.max_parallel = options.max_parallel;
this.max_parallel_limit = options.max_parallel_limit;
this.suiteOptions.grep = options.grep;
this.reporterOptions = options.reporterOptions;
this.results = [];
this.setupReporters(options.reporters);