()
| 449 | const startTimeout = 65 * 1000 |
| 450 | |
| 451 | function startSelenium() { |
| 452 | if (typeof this.timeout === 'function') { |
| 453 | this.timeout(startTimeout) // For mocha. |
| 454 | } |
| 455 | |
| 456 | info(`Starting selenium server ${seleniumJar}`) |
| 457 | return seleniumServer.start(60 * 1000) |
| 458 | } |
| 459 | |
| 460 | const /** !Function */ beforeHook = global.beforeAll || global.before |
| 461 | beforeHook(startSelenium, startTimeout) |