Skip to content

Instantly share code, notes, and snippets.

View agomez49's full-sized avatar

Alejandro Gómez agomez49

  • Córdoba, Argentina
  • 18:33 (UTC -03:00)
View GitHub Profile
@agomez49
agomez49 / vite-testing-config.md
Created June 26, 2025 22:26 — 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: