Skip to content

Instantly share code, notes, and snippets.

View marcosbondel's full-sized avatar
:octocat:
Building a better future

Marcos Bonifasi de León marcosbondel

:octocat:
Building a better future
View GitHub Profile
@Klerith
Klerith / vite-testing-config.md
Last active November 7, 2025 00:38
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:
@Klerith
Klerith / configurar-node-ts.md
Last active November 6, 2025 01:17
Node con TypeScript - TS-Node-dev simplificado

Node con TypeScript - TS-Node-dev (preferido)

  1. Instalar TypeScript y demás dependencias
npm i -D typescript @types/node ts-node-dev rimraf
  1. Inicializar el archivo de configuración de TypeScript ( Se puede configurar al gusto)
npx tsc --init --outDir dist/ --rootDir src