Skip to content

Instantly share code, notes, and snippets.

View jorgeblanc9's full-sized avatar
馃彔
Working from home

Jorge Blanco jorgeblanc9

馃彔
Working from home
  • Caracas Venezuela
View GitHub Profile
@jorgeblanc9
jorgeblanc9 / vite-testing-config.md
Created June 22, 2023 17:03 — forked from Klerith/vite-testing-config.md
Vite + Jest + React Testing Library - Configuraciones a seguir

Instalaci贸n y configuracion de Jest + React Testing Library

En proyectos de React + Vite

  1. Instalaciones:
yarn add --dev jest babel-jest @babel/preset-env @babel/preset-react 
yarn add --dev @testing-library/react @types/jest jest-environment-jsdom
  1. Opcional: Si usamos Fetch API en el proyecto: