Che cos'è testing-library?
Testare i componenti di React con i modelli della Libreria di test. Copre query (getBy/findBy/queryBy), interazioni utente-evento, test asincroni (findBy vs waitFor), test di accessibilità e integrazione MSW per il mocking delle API. Da utilizzare per: testare componenti React, simulare interazioni utente, testare moduli, simulare chiamate API con MSW o scrivere test accessibili. Parole chiave: libreria di test, libreria di test di reazione, getByRole, evento utente, waitFor, MSW, schermo. Fonte: jezweb/claude-skills.