       wrapperNode.style.height = 5 * lineHeightInPixels + 'px'
       wrapperNode.style.width = 10 * charWidth + 'px'
       component.measureDimensions()
-
       waitsForNextDOMUpdate()
 
       runs ->
         expect(editor.getCursorScreenPosition()).toEqual [0, 0]
         wrapperNode.setScrollTop(3 * lineHeightInPixels)
         wrapperNode.setScrollLeft(3 * charWidth)
-
-      waitsForNextDOMUpdate()
+        waitsForNextDOMUpdate()
 
       runs ->
         expect(inputNode.offsetTop).toBe 0

    it "updates selections when the line height changes", ->
      editor.setSelectedBufferRange([[1, 6], [1, 10]])
      component.setLineHeight(2)

      waitsForNextDOMUpdate()

      runs ->

            font-weight: bold;
          }
        """, context: 'atom-text-editor'
        waitsForNextDOMUpdate()

      runs ->
        cursor = componentNode.querySelector('.cursor')
