Set suite name based on the --web parameter (#104798)
parent
43ceb72582
commit
652a432f59
|
@ -7,13 +7,14 @@ const path = require('path');
|
|||
const Mocha = require('mocha');
|
||||
const minimist = require('minimist');
|
||||
|
||||
const suite = 'Smoke Tests';
|
||||
|
||||
const [, , ...args] = process.argv;
|
||||
const opts = minimist(args, {
|
||||
boolean: 'web',
|
||||
string: ['f', 'g']
|
||||
});
|
||||
|
||||
const suite = opts['web'] ? 'Browser Smoke Tests' : 'Smoke Tests';
|
||||
|
||||
const options = {
|
||||
color: true,
|
||||
timeout: 60000,
|
||||
|
|
Loading…
Reference in New Issue