diff --git a/spec/minimap-element-spec.coffee b/spec/minimap-element-spec.coffee index c15818de..07bb4adf 100644 --- a/spec/minimap-element-spec.coffee +++ b/spec/minimap-element-spec.coffee @@ -497,7 +497,7 @@ describe 'MinimapElement', -> # wait until all animations run out waitsFor -> nextAnimationFrame isnt noAnimationFrame and nextAnimationFrame() - editor.getScrollTop() is 400 + editor.getScrollTop() >= 400 describe 'dragging the visible area', -> [visibleArea, originalTop] = []