ci: use longer mocha timeout on WOA testing (#23633)
This commit is contained in:
parent
ee0f67d541
commit
8879a3db58
3 changed files with 6 additions and 2 deletions
|
@ -62,7 +62,8 @@ app.whenReady().then(() => {
|
|||
if (!process.env.MOCHA_REPORTER) {
|
||||
mocha.ui('bdd').reporter('tap');
|
||||
}
|
||||
mocha.timeout(30000);
|
||||
const mochaTimeout = process.env.MOCHA_TIMEOUT || 30000;
|
||||
mocha.timeout(mochaTimeout);
|
||||
|
||||
if (argv.grep) mocha.grep(argv.grep);
|
||||
if (argv.invert) mocha.invert();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue