Remove the did-get-response-details spec
It is not reliable to use external http resource for specs, should setup our own http server.
This commit is contained in:
parent
64f9f7e906
commit
a4c01b2336
1 changed files with 0 additions and 8 deletions
|
@ -221,11 +221,3 @@ describe 'browser-window module', ->
|
||||||
assert.equal url, 'https://www.github.com/'
|
assert.equal url, 'https://www.github.com/'
|
||||||
done()
|
done()
|
||||||
w.loadUrl "file://#{fixtures}/pages/will-navigate.html"
|
w.loadUrl "file://#{fixtures}/pages/will-navigate.html"
|
||||||
|
|
||||||
describe 'did-get-response-details', ->
|
|
||||||
it 'emits when user requests a resource', (done) ->
|
|
||||||
w.webContents.on 'did-get-response-details', (event, status, url) ->
|
|
||||||
assert.notEqual status
|
|
||||||
assert.equal url, "https://d4hwcs1zqtwzs.cloudfront.net/mac/GitHub%20for%20Mac%20204.zip"
|
|
||||||
done()
|
|
||||||
w.loadUrl "https://central.github.com/mac/latest"
|
|
||||||
|
|
Loading…
Reference in a new issue