Fix a few failing tests on Windows
This commit is contained in:
parent
2a55d93501
commit
214eb0430c
2 changed files with 10 additions and 2 deletions
|
@ -173,11 +173,12 @@ describe('browser-window module', function () {
|
|||
})
|
||||
|
||||
it('does not crash in did-fail-provisional-load handler', function (done) {
|
||||
this.timeout(10000)
|
||||
w.webContents.once('did-fail-provisional-load', function () {
|
||||
w.loadURL('http://localhost:11111')
|
||||
w.loadURL('http://127.0.0.1:11111')
|
||||
done()
|
||||
})
|
||||
w.loadURL('http://localhost:11111')
|
||||
w.loadURL('http://127.0.0.1:11111')
|
||||
})
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue