({ props }: TestInstance)
| 239 | |
| 240 | // See: https://github.com/callstack/react-native-testing-library/wiki/Accessibility:-State#expanded-state |
| 241 | export function computeAriaExpanded({ props }: TestInstance): boolean | undefined { |
| 242 | return props['aria-expanded'] ?? props.accessibilityState?.expanded; |
| 243 | } |
| 244 | |
| 245 | // See: https://github.com/callstack/react-native-testing-library/wiki/Accessibility:-State#selected-state |
| 246 | export function computeAriaSelected({ props }: TestInstance): boolean { |
no outgoing calls
no test coverage detected
searching dependent graphs…