mercredi 22 janvier 2020

Could neither find styled-components secret internals

I'm currently trying to update to Styled Components 5.0.0 but I've had some issues that my JEST tests stops working. I've downgraded down to 4.2.1, but still updated babel@preset-react, preset-env, core and some other packages. I get this error when I try run npm test:

"Could neither find styled-components secret internals" and it points to import 'jest-styled-components'; Jest-styled-components is also updated to 7.0.0

Aucun commentaire:

Enregistrer un commentaire