Instalación
Esta página fue traducida por PageTurner AI (beta). No está respaldada oficialmente por el proyecto. ¿Encontraste un error? Reportar problema →
- npm
- Yarn
npm install --save-dev @testing-library/user-event
yarn add --dev @testing-library/user-event
Ten en cuenta que @testing-library/user-event requiere @testing-library/dom.
Si utilizas alguno de los
wrappers de framework, es
importante que @testing-library/dom se resuelva en la misma instalación
que requiere el wrapper de framework de tu elección.
Normalmente esto significa que si usas uno de estos wrappers, no deberías
agregar @testing-library/dom como dependencia de tu proyecto.