Torna alla mappa

Backend real

Nivel 26: Tests con Vitest

Stimato35 minBloccato

Ecco come dovrebbe apparire il tuo sito a fine livello

npm test pasa en local.

Obiettivo

Instala Vitest, crea vitest.config.js y un test que renderice ProjectCard.

In questo livello imparerai

Introduces tests automatizados con Vitest y Testing Library: renderizar ProjectCard y comprobar que el texto aparece. Aprenderás por qué los tests dan confianza al refactorizar y cómo ejecutarlos con npm test.

Passi da completare (0/6)