mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
ci: use longer mocha timeout on WOA testing (#23633)
This commit is contained in:
committed by
GitHub
parent
ee0f67d541
commit
8879a3db58
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user