Skip to content

Instantly share code, notes, and snippets.

View brandonruizmora's full-sized avatar
🏠
Working from home

Brandon RM brandonruizmora

🏠
Working from home
View GitHub Profile
@Klerith
Klerith / vite-testing-config.md
Last active May 27, 2024 14:32
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: