Decrease spec timeouts

Reverts a35e24658d
This commit is contained in:
Wliu
2016-04-29 18:43:45 -04:00
parent 5df4a8ccd0
commit a9da862678
2 changed files with 2 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ exports.afterEach = (fn) ->
waitsForPromise = (fn) ->
promise = fn()
waitsFor 'spec promise to resolve', 30000, (done) ->
waitsFor 'spec promise to resolve', 10000, (done) ->
promise.then(
done,
(error) ->

View File

@@ -5008,7 +5008,7 @@ describe('TextEditorComponent', function () {
let timeout = window.setTimeout(function () {
timeoutError.message += ' Frame pending? ' + atom.views.animationFrameRequest + ' Same next update promise pending? ' + (nextUpdatePromise === atom.views.nextUpdatePromise)
reject(timeoutError)
}, 30000)
}, 5000)
})
}