Skip to content

Instantly share code, notes, and snippets.

@farney9
farney9 / user-mock.data.ts
Created July 9, 2025 20:01 — forked from Klerith/user-mock.data.ts
Data de pruebas para el curso de React de cero a experto
export interface User {
id: number;
name: string;
title: string;
tags: string[];
contact: Contact;
about: string;
experience: Experience[];
stats: Stats;
skills: string[];
@farney9
farney9 / form-utils.ts
Last active July 9, 2025 19:40 — forked from Klerith/form-utils.ts
Utilidades para formularios reactivos
import {
AbstractControl,
FormArray,
FormGroup,
ValidationErrors,
} from '@angular/forms';
async function sleep() {
return new Promise((resolve) => {
setTimeout(() => {
@farney9
farney9 / angular-jest-installation.md
Created December 5, 2022 16:50 — forked from Klerith/angular-jest-installation.md
Angular 13+ Configure Jest Testing

Angular testing con JEST

  1. Remover cualquier referencia de Jasmine / Karma en el package.json
npm remove <karma karma-chrome-launcher...>
  1. Instalar Jest
npm install --save-dev jest jest-preset-angular @types/jest