Make timeout longer for some could-be-slow specs.

This commit is contained in:
Cheng Zhao 2014-05-07 23:12:24 +08:00
parent d940330a7c
commit 2b5a0e28e3
2 changed files with 2 additions and 0 deletions

View file

@ -15,6 +15,7 @@ describe 'crash-reporter module', ->
afterEach -> w.destroy() afterEach -> w.destroy()
it 'should send minidump when renderer crashes', (done) -> it 'should send minidump when renderer crashes', (done) ->
@timeout 5000
server = http.createServer (req, res) -> server = http.createServer (req, res) ->
form = new formidable.IncomingForm() form = new formidable.IncomingForm()
process.throwDeprecation = false process.throwDeprecation = false

View file

@ -10,6 +10,7 @@ describe 'chromium feature', ->
describe 'sending request of http protocol urls', -> describe 'sending request of http protocol urls', ->
it 'does not crash', -> it 'does not crash', ->
@timeout 5000
$.get 'https://api.github.com/zen' $.get 'https://api.github.com/zen'
describe 'navigator.webkitGetUserMedia', -> describe 'navigator.webkitGetUserMedia', ->