- 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:
Instalar Node Sitio oficial de node
Instalar VSCode Editor Visual Studio Code
Instalar Google Chrome Google Chrome
| @ini_set('display_errors',0); | |
| @ini_set('error_reporting', E_ALL ); | |
| define( 'WP_DEBUG', false ); | |
| define( 'WP_DEBUG_LOG', false ); | |
| define( 'WP_DEBUG_DISPLAY', false ); | |
| define( 'SCRIPT_DEBUG', false ); | |
| define( 'SAVEQUERIES', false ); | 
| # Created by https://www.gitignore.io/api/wordpress | |
| # Edit at https://www.gitignore.io/?templates=wordpress | |
| ### WordPress ### | |
| # ignore everything in the root except the "wp-content" directory. | |
| !wp-content/ | |
| # ignore everything in the "wp-content" directory, except: | |
| # "mu-plugins", "plugins", "themes" directory | 
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <!-- Cargat React --> | |
| <script crossorigin src="https://unpkg.com/react@16/umd/react.production.min.js"></script> | |
| <script crossorigin src="https://unpkg.com/react-dom@16/umd/react-dom.production.min.js"></script> | |
| <script src="https://unpkg.com/babel-standalone@6/babel.min.js"></script> | 
| {"lastUpload":"2021-01-28T15:22:07.638Z","extensionVersion":"v3.4.3"} | 
| # Basic blocking for all bots and crawlers | |
| # problems due to resource blocking in GWT | |
| User-agent: * | |
| Allow: /wp-content/uploads/* | |
| Allow: /wp-content/*.js | |
| Allow: /wp-content/*.css | |
| Allow: /wp-includes/*.js | |
| Allow: /wp-includes/*.css | |
| Disallow: /cgi-bin | 
| {"version":1,"resource":"file:///Users/hmartinez/Documents/LocalSites/edumed2023/app/public/wp-content/themes/edumed/css/new-homepage-change.css","entries":[{"id":"dn9w.css","timestamp":1693531347957},{"id":"w2dN.css","timestamp":1693531386084}]} |