Skip to content

Instantly share code, notes, and snippets.

View CerberusProgrammer's full-sized avatar
🎯
Focusing

SazarCode CerberusProgrammer

🎯
Focusing
View GitHub Profile
@Klerith
Klerith / vite-testing-config.md
Last active June 1, 2024 22:01
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:
@Sfshaza
Sfshaza / main.dart
Last active June 2, 2023 04:49
Java-to-Dart codelab: Starting point
void main() {
for (int i = 0; i < 5; i++) {
print('hello ${i + 1}');
}
}