         editor.setSelectedBufferRanges([range1, range2])
 
       it 'adds the background class to the cursor line', ->
-        expect(editorElement.shadowRoot
-          .querySelectorAll('.cursor-line.highlight-line')
+        expect(
+          editorElement.querySelectorAll('.cursor-line.highlight-line')
         ).toHaveLength(2)
 
     describe "when there is a multi row selection", ->

        editor.setSelectedBufferRange(range)

      it "won`t add a highlight line class", ->
        expect(editorElement.shadowRoot
          .querySelectorAll('.cursor-line.highlight-line')
        ).toHaveLength(0)

      describe "when selection border is enabled", ->


        it "adds an underline to the current line", ->
          expect(
            editorElement.querySelectorAll(
              '.cursor-line.highlight-line-multi-line-dashed-bottom'
            )
          ).toHaveLength(1)
