Skip to content

Instantly share code, notes, and snippets.

View MarcAnt's full-sized avatar
馃彔
Working from home

Marcos MarcAnt

馃彔
Working from home
View GitHub Profile
@Klerith
Klerith / vite-testing-config.md
Last active August 4, 2025 14:53
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 / heroes.js
Created May 7, 2020 17:40
Un peque帽o arreglo de h茅roes para hacer ejercicios
const heroes = [
{
id: 1,
name: 'Batman',
owner: 'DC'
},
{
id: 2,
name: 'Spiderman',
owner: 'Marvel'
@SrShark
SrShark / Configurar Nodemon con Babel ES6.md
Last active January 31, 2024 17:12
Configurar Nodemon con Babel (ES6)

Configurar Nodemon con Babel (ES6)

Dependencias:

npm i -D babel-cli babel-preset-env nodemon

Configuraci贸n

Configurar babel para su correcto funcionamiento en el package.json: