¿Alguien ha actualizado con éxito a la última versión de Jest 28.0.0 ?
Estoy recibiendo un error:
Error: Test environment jest-environment-jsdom cannot be found. Make sure the testEnvironment configuration option points to an existing node module.El equipo de Jest agregó un mensaje de error más descriptivo en la versión 28.0.1
Error: ... As of Jest 28 "jsdom" is no longer shipped by default, make sure to install it separately. La instalación del paquete jsdom resuelve el problema:
# npm npm install jest-environment-jsdom # yarn yarn add jest-environment-jsdom