Use 1 or 2 minute timeout for long specs
This commit is contained in:
parent
10386edea5
commit
f5f790863d
4 changed files with 3 additions and 6 deletions
|
@ -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)
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue