Skip to content

Instantly share code, notes, and snippets.

View aljorgevi's full-sized avatar

Jorge Mena aljorgevi

View GitHub Profile
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
class UserInfo {
String name;
String userId;
}
public class User {
@aljorgevi
aljorgevi / jest-set-up.md
Last active June 18, 2022 12:13
Vite + Jest + React Testing Library

Jest + React Testing Library

React + Vite

  1. Instalaciones:
npm install -D jest babel-jest @babel/preset-env @babel/preset-react 
npm install -D @testing-library/react @types/jest jest-environment-jsdom
  1. if Fetch API: