From 32687653412dea7ae4223367eb38b8e965a2c2b8 Mon Sep 17 00:00:00 2001 From: Wliu Date: Thu, 5 May 2016 20:42:17 -0400 Subject: [PATCH] Revert "Decrease spec timeouts" This reverts commit a9da86267812ea6355a4127ce34780a3e7cf13eb. --- spec/async-spec-helpers.coffee | 2 +- spec/text-editor-component-spec.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/async-spec-helpers.coffee b/spec/async-spec-helpers.coffee index 2faa5ab91..5f8e03ca3 100644 --- a/spec/async-spec-helpers.coffee +++ b/spec/async-spec-helpers.coffee @@ -19,7 +19,7 @@ exports.afterEach = (fn) -> waitsForPromise = (fn) -> promise = fn() - waitsFor 'spec promise to resolve', 10000, (done) -> + waitsFor 'spec promise to resolve', 30000, (done) -> promise.then( done, (error) -> diff --git a/spec/text-editor-component-spec.js b/spec/text-editor-component-spec.js index 0c7ebd0e8..83f5d1b80 100644 --- a/spec/text-editor-component-spec.js +++ b/spec/text-editor-component-spec.js @@ -5118,7 +5118,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) - }, 5000) + }, 30000) }) }