diff --git a/spec/api-app-spec.js b/spec/api-app-spec.js index b3bb716b9491..d1ceef1434c4 100644 --- a/spec/api-app-spec.js +++ b/spec/api-app-spec.js @@ -127,7 +127,8 @@ describe('app module', function () { }) it('relaunches the app', function (done) { - this.timeout(100000) + this.timeout(120000) + let state = 'none' server.once('error', (error) => { done(error) diff --git a/spec/api-session-spec.js b/spec/api-session-spec.js index b9b6dd0a51ce..1a75fa333a4a 100644 --- a/spec/api-session-spec.js +++ b/spec/api-session-spec.js @@ -9,8 +9,6 @@ const {ipcRenderer, remote} = require('electron') const {ipcMain, session, BrowserWindow} = remote describe('session module', function () { - this.timeout(10000) - var fixtures = path.resolve(__dirname, 'fixtures') var w = null var url = 'http://127.0.0.1' diff --git a/spec/asar-spec.js b/spec/asar-spec.js index 9d485edfded1..9c91b6089828 100644 --- a/spec/asar-spec.js +++ b/spec/asar-spec.js @@ -888,7 +888,7 @@ describe('asar package', function () { }) it('loads video tag in html', function (done) { - this.timeout(20000) + this.timeout(60000) after(function () { ipcMain.removeAllListeners('asar-video') diff --git a/spec/chromium-spec.js b/spec/chromium-spec.js index 611ef16f232d..8aeb2450bded 100644 --- a/spec/chromium-spec.js +++ b/spec/chromium-spec.js @@ -152,8 +152,6 @@ describe('chromium feature', function () { return } - this.timeout(20000) - it('returns a BrowserWindowProxy object', function () { var b = window.open('about:blank', '', 'show=no') assert.equal(b.closed, false)