Browse Source

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

Cheng Zhao 11 years ago
parent
commit
2b5a0e28e3
2 changed files with 2 additions and 0 deletions
  1. 1 0
      spec/api-crash-reporter-spec.coffee
  2. 1 0
      spec/chromium-spec.coffee

+ 1 - 0
spec/api-crash-reporter-spec.coffee

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

+ 1 - 0
spec/chromium-spec.coffee

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