React Native admite pruebas en múltiples niveles — pruebas unitarias (lógica), pruebas de componentes (con React Native Testing Library) y pruebas de extremo a extremo (con Detox). Una buena estrategia de pruebas mejora la confiabilidad y la confianza.
Pruebas unitarias y de componentes (Jest + Testing Library)
JEST → the standard JS test runner (unit tests for logic, functions, hooks)
REACT NATIVE TESTING LIBRARY → test components by rendering and interacting with them
(the way a user would) — query elements, fire events, assert on output
