Don't wait for request in http spec.
This spec is used to crash atom-shell, we don't care if http request succeeds.
This commit is contained in:
parent
55a35d473d
commit
defb6c9882
1 changed files with 2 additions and 5 deletions
|
@ -1,7 +1,4 @@
|
|||
describe 'http', ->
|
||||
describe 'sending request of http protocol urls', ->
|
||||
it 'should not crash', (done) ->
|
||||
$.ajax
|
||||
url: 'http://127.0.0.1'
|
||||
success: -> done()
|
||||
error: -> done()
|
||||
it 'should not crash', ->
|
||||
$.get 'https://api.github.com/zen'
|
||||
|
|
Loading…
Add table
Reference in a new issue