Use 1 or 2 minute timeout for long specs

This commit is contained in:
Kevin Sawicki 2016-11-29 14:31:57 -08:00
parent 10386edea5
commit f5f790863d
4 changed files with 3 additions and 6 deletions

View file

@ -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)

View file

@ -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'

View file

@ -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')

View file

@ -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)