Skip to content

Instantly share code, notes, and snippets.

View DavidGRamiro's full-sized avatar
馃挱
Let麓s do this!馃殌

David Gonz谩lez Ramiro DavidGRamiro

馃挱
Let麓s do this!馃殌
View GitHub Profile
@Klerith
Klerith / vite-testing-config.md
Last active June 10, 2025 14:23
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: