Skip to content

Commit 0d49556

Browse files
authored
fixes test flake
1 parent 28a97b5 commit 0d49556

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ describe('combobox-nav', function() {
219219

220220
assert.equal(options[1].getAttribute('aria-selected'), 'true')
221221
assert.equal(input.getAttribute('aria-activedescendant'), 'hubot')
222-
assert.equal(list.scrollTop, 36)
222+
assert.equal(list.scrollTop, options[1].offsetTop)
223223
})
224224
})
225225
})

0 commit comments

Comments
 (0)