Skip to content

Instantly share code, notes, and snippets.

View IvanCrespo's full-sized avatar
馃捇
Throwing code!

Iv谩n Crespo Reyes IvanCrespo

馃捇
Throwing code!
  • TCPU | Alten
  • Puebla, Mex.
  • 02:08 (UTC -06:00)
View GitHub Profile
@IvanCrespo
IvanCrespo / vite-testing-config.md
Created February 24, 2023 23:02 — 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: