-
Notifications
You must be signed in to change notification settings - Fork 273
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: *ByA11yState default value false value for busy, disabled & selected state #1166
Conversation
Might be worth sharing an implementation with #1161, no? |
@AugustinLF Added exported |
@AugustinLF would you mind if I would use the exported |
11fa4a0
to
864528c
Compare
@pierrezimmermannbam I've addressed your comment about default state object. |
@AugustinLF I've used |
@mdjastrzebski Yep good for me, makes sense |
Nice work! |
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.
@mdjastrzebski I added just an additional suggestion of refactor, otherwise changes look good to me, well done !
Summary
Resolves #1165.
Based on empirical research results: https://github.com/callstack/react-native-testing-library/wiki/Accessibility:-State
Test plan
Added additional test for matching behaviour.