Skip to content

Commit fb0296e

Browse files
committed
Update test
1 parent 8bcad3d commit fb0296e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/test.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,7 @@ describe('markdown-toolbar-element', function () {
135135
document.querySelector('markdown-toolbar').setAttribute('data-no-focus', '')
136136
focusFirstButton()
137137
pushKeyOnFocussedButton('ArrowRight')
138-
assert.deepEqual(getElementsWithTabindex(0), [document.querySelector('md-bold')])
139-
assert.deepEqual(getElementsWithTabindex(0), [document.activeElement])
138+
assert.lengthOf(getElementsWithTabindex(0), 0)
140139
})
141140

142141
it('cycles focus round to last element from first when ArrowLeft is pressed', function () {

0 commit comments

Comments
 (0)