fix bad smoketest launcher
This commit is contained in:
parent
6a40aa296e
commit
7d277787b4
1 changed files with 10 additions and 1 deletions
|
@ -5,13 +5,22 @@
|
||||||
|
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
const Mocha = require('mocha');
|
const Mocha = require('mocha');
|
||||||
|
const minimist = require('minimist');
|
||||||
|
|
||||||
const suite = 'Smoke Tests';
|
const suite = 'Smoke Tests';
|
||||||
|
|
||||||
|
const [, , ...args] = process.argv;
|
||||||
|
const opts = minimist(args, {
|
||||||
|
string: [
|
||||||
|
'f'
|
||||||
|
]
|
||||||
|
});
|
||||||
|
|
||||||
const options = {
|
const options = {
|
||||||
useColors: true,
|
useColors: true,
|
||||||
timeout: 60000,
|
timeout: 60000,
|
||||||
slow: 30000
|
slow: 30000,
|
||||||
|
grep: opts['f']
|
||||||
};
|
};
|
||||||
|
|
||||||
if (process.env.BUILD_ARTIFACTSTAGINGDIRECTORY) {
|
if (process.env.BUILD_ARTIFACTSTAGINGDIRECTORY) {
|
||||||
|
|
Loading…
Reference in a new issue