- 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:
| #!/usr/bin/env bash | |
| # netplan2NM.sh | |
| # Ubuntu server 20.04 Change from netplan to NetworkManager for all interfaces | |
| echo 'Changing netplan to NetowrkManager on all interfaces' | |
| # backup existing yaml file | |
| cd /etc/netplan | |
| cp 01-netcfg.yaml 01-netcfg.yaml.BAK |