cli: pass timeout 5 seconds for XVFB, close #1628 (#1629)

This commit is contained in:
Gleb Bahmutov
2018-04-23 16:16:57 -04:00
committed by Brian Mann
parent e5626d050a
commit 97e3092300
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -7,6 +7,7 @@ const debugXvfb = require('debug')('cypress:xvfb')
const { throwFormErrorText, errors } = require('../errors')
const xvfb = Promise.promisifyAll(new Xvfb({
timeout: 5000, // milliseconds
onStderrData (data) {
if (debugXvfb.enabled) {
debugXvfb(data.toString())