Reduce spec timeout duration

This commit is contained in:
Wliu
2016-04-14 20:33:56 -04:00
parent 47719f0649
commit e03df6e1a4

View File

@@ -19,9 +19,7 @@ exports.afterEach = (fn) ->
waitsForPromise = (fn) ->
promise = fn()
# This timeout is 3 minutes. We need to bump it back down once we fix backgrounding
# of the renderer process on CI. See https://github.com/atom/electron/issues/4317
waitsFor 'spec promise to resolve', 3 * 60 * 1000, (done) ->
waitsFor 'spec promise to resolve', 30000, (done) ->
promise.then(
done,
(error) ->