Skip to content

Commit 0ecfff9

Browse files
koddssonmuan
andauthored
assert that tabindex has changed for previous tab
Co-Authored-By: Mu-An 慕安 <[email protected]>
1 parent b848847 commit 0ecfff9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ describe('tab-container', function() {
114114

115115
tabs[1].click()
116116
assert.equal(tabs[1].getAttribute('tabindex'), '0')
117+
assert.equal(tabs[0].getAttribute('tabindex'), '-1')
117118
})
118119
})
119120
})

0 commit comments

Comments
 (0)