Skip to content

Commit a25dce2

Browse files
kentcdoddsbenmonro
andcommitted
Update src/user-event/__tests__/tab.js
Co-authored-by: Ben Monro <ben.monro@gmail.com>
1 parent a7c6f15 commit a25dce2

File tree

1 file changed

+1
-1
lines changed
  • src/user-event/__tests__

1 file changed

+1
-1
lines changed

src/user-event/__tests__/tab.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ test('should respect tabindex, regardless of dom position', async () => {
8585
expect(radio).toHaveFocus()
8686
})
8787

88-
test('should respect dom order when tabindex are all the same', async () => {
88+
test('should respect tab index order, then DOM order', async () => {
8989
setup(`
9090
<div>
9191
<input data-testid="element" tabIndex="0" type="checkbox" />

0 commit comments

Comments
 (0)