Che cos'è react-native-testing?
Scrivi test utilizzando la React Native Testing Library (RNTL) v13 e v14 ("@testing-library/react-native`). Da utilizzare durante la scrittura, la revisione o la correzione dei test dei componenti React Native. Copre: rendering, schermata, query (getBy/getAllBy/queryBy/findBy), matcher Jest, userEvent, fireEvent, waitFor e modelli asincroni. Supporta v13 (React 18, rendering sincronizzato) e v14 (React 19+, rendering asincrono). Si attiva su: file di test per componenti React Native, importazioni RNTL, menzioni di "libreria di test", "test di scrittura", "test dei componenti" o "RNTL". Fonte: callstack/react-native-testing-library.