Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

@testing-library/react-native switch

fireEvent(getByTestId('switch-element-id'), 'valueChange', true || false);
 
PREVIOUS NEXT
Tagged: #switch
ADD COMMENT
Topic
Name
8+7 =