(instance: TestInstance)
| 4 | import { isHostTextInput } from './host-component-names'; |
| 5 | |
| 6 | export function isEditableTextInput(instance: TestInstance) { |
| 7 | return isHostTextInput(instance) && instance.props.editable !== false; |
| 8 | } |
| 9 | |
| 10 | export function getTextInputValue(instance: TestInstance) { |
| 11 | if (!isHostTextInput(instance)) { |
no test coverage detected
searching dependent graphs…