From ccada33d577a548ed2645925b840f502ba832e35 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Mon, 23 Jun 2014 22:27:17 -0600 Subject: [PATCH] Remove nextTick in spec --- spec/editor-component-spec.coffee | 1 - 1 file changed, 1 deletion(-) diff --git a/spec/editor-component-spec.coffee b/spec/editor-component-spec.coffee index 497e36f09..74dc34dc4 100644 --- a/spec/editor-component-spec.coffee +++ b/spec/editor-component-spec.coffee @@ -1484,7 +1484,6 @@ describe "EditorComponent", -> it "updates the scrollLeft or scrollTop according to the scroll sensitivity", -> atom.config.set('editor.scrollSensitivity', 50) node.dispatchEvent(new WheelEvent('mousewheel', wheelDeltaX: -5, wheelDeltaY: -10)) - nextTick() expect(horizontalScrollbarNode.scrollLeft).toBe 0 node.dispatchEvent(new WheelEvent('mousewheel', wheelDeltaX: -15, wheelDeltaY: -5))