API Overview
React Native Testing Library consists of following APIs:
renderfunction - render your UI components for testing purposesscreenobject - access rendered UI:- Jest matchers - validate assumptions about your UI
- User Event - simulate common user interactions like
pressortypein a realistic way - Fire Event - simulate any component event in a simplified way purposes
- Misc APIs:
renderHookfunction - render hooks for testing- Async utils:
findBy*queries,wait,waitForElementToBeRemoved - Configuration:
configure,resetToDefaults - Accessibility:
isHiddenFromAccessibility - Other:
within,act,cleanup
