-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: upgraded Jest to v29 #1573
Conversation
5eef0a9
to
3872c7e
Compare
} | ||
return true; | ||
}); | ||
const focusableItems = Array.from(allItems).filter((el) => el.tabIndex >= 0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aren't there focusable elements (such as buttons) that don't need an explicit tabindex
attribute?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feel free to ignore this comment given the relevant code wasn't modified in this PR, but we should probably at some point improve the focusableItems lookup to account for elements that are natively focusable without requiring a tabindex attribute.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
50687c3
to
573a9af
Compare
Description
Upgraded Jest to v29.