Skip to content
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

Merged
merged 4 commits into from
Sep 22, 2022
Merged

fix: upgraded Jest to v29 #1573

merged 4 commits into from
Sep 22, 2022

Conversation

KevinGhadyani-Okta
Copy link
Contributor

Description

Upgraded Jest to v29.

}
return true;
});
const focusableItems = Array.from(allItems).filter((el) => el.tabIndex >= 0);
Copy link
Contributor

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?

Copy link
Contributor

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.

Copy link
Contributor

@kamalgill-okta kamalgill-okta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@KevinGhadyani-Okta KevinGhadyani-Okta merged commit 8f8f6b2 into develop Sep 22, 2022
@KevinGhadyani-Okta KevinGhadyani-Okta deleted the kg/OKTA-481893 branch September 22, 2022 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants