- Instalaciones:
yarn add --dev jest babel-jest @babel/preset-env @babel/preset-react
yarn add --dev @testing-library/react @types/jest jest-environment-jsdom
- Opcional: Si usamos Fetch API en el proyecto:
| {"version":1,"resource":"file:///d%3A/Dev/React/TypeScript/alameda-ecommerce/src/components/Header/styles.ts","entries":[{"id":"Tbp7.ts","timestamp":1651334760351},{"id":"qMDn.ts","timestamp":1651334819752},{"id":"AjvN.ts","timestamp":1651334852558},{"id":"TihA.ts","timestamp":1652230261654}]} |
System: Debian/Ubuntu/Fedora. Might work for others as well.
As mentioned here, to update a go version you will first need to uninstall the original version.
To uninstall, delete the /usr/local/go directory by: