                 ->
                     atom.commands.dispatch workspaceElement, 'jumpy:c'
             runs ->
-                expect(textEditorElement.shadowRoot
+                expect(textEditorElement
                     .querySelectorAll('.beacon').length)
                     .toBe 0
 

            expect(decorations[83].getProperties().item.textContent).toBe 'df'
        it "clears beacon effect", ->
            expect(textEditorElement.
                querySelectorAll('cursors .cursor.beacon').length).toBe 0
        it "only uses jumpy keymaps", ->
            expect(atom.keymaps.keyBindings.length).toBe (26 * 2) + 5 + 1


        it "the beacon animation class is added", ->
            atom.commands.dispatch workspaceElement, 'jumpy:a'
            atom.commands.dispatch workspaceElement, 'jumpy:c'
            expect(textEditorElement
                .querySelectorAll('.beacon').length)
                .toBe 1
        it "the beacon animation class is removed", ->
