ci: use longer mocha timeout on WOA testing (#23633)

This commit is contained in:
John Kleinschmidt 2020-05-18 12:33:54 -04:00 committed by GitHub
parent ee0f67d541
commit 8879a3db58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 2 deletions

View file

@ -41,7 +41,9 @@
if (!process.env.MOCHA_REPORTER) {
mocha.ui('bdd').reporter('tap')
}
mocha.timeout(30000)
const mochaTimeout = process.env.MOCHA_TIMEOUT || 30000
mocha.timeout(mochaTimeout)
const query = Mocha.utils.parseQuery(window.location.search || '')
if (query.grep) mocha.grep(query.grep)