       describe 'and then disabled', ->
         beforeEach ->
           atom.config.set 'minimap.adjustMinimapWidthToSoftWrap', false
+
           waitsFor -> minimapElement.frameRequested
           runs -> nextAnimationFrame()
 

          editorElement.style.height = '100px'

          atom.views.performDocumentPoll()
          waitsFor -> nextAnimationFrame isnt noAnimationFrame
          runs -> nextAnimationFrame()


            expect(editor.getScrollTop()).toEqual(middleScrollTop)

          it 'updates the visible area to be centered', ->
            waitsFor -> nextAnimationFrame isnt noAnimationFrame
            runs ->
              nextAnimationFrame()
              {top, height} = visibleArea.getBoundingClientRect()
              visibleCenterY = top + (height / 2)
              expect(visibleCenterY).toBeCloseTo(canvasMidY, 0)

        describe 'scrolling the editor to an arbitrary location', ->
          [scrollTo, scrollRatio] = []
