secondsky/claude-skills
Vitest Testing
2 060e ex aequo sur 4 265 skills du métier Développement, par installations. Dans l'annuaire depuis le 18 novembre 2026.
Description
Donne à Claude une expertise de Vitest, le framework de test propulsé par Vite devenu la référence pour les projets TypeScript et JavaScript modernes. Il couvre tout le workflow de test : configuration avec vitest.config.ts, écriture des tests.
Voir la description originale (anglais)
This gives Claude expertise in Vitest, the Vite-powered testing framework that's become the go-to for modern TypeScript and JavaScript projects. You get comprehensive coverage of the testing workflow: setup with vitest.config.ts, writing tests with describe/it blocks, parametrized tests, mocking functions and modules, timer manipulation, and coverage reporting. The skill emphasizes using bun as the test runner and includes practical patterns for both unit and integration testing. Honestly, if you're already using Vite for your build tooling, Vitest is the obvious choice since it shares the same config and transform pipeline. The examples are solid and cover the full assertion API plus real-world scenarios like API endpoint testing.
Installer le skill
- 1Copiez la commande d'installation (bouton Copier, en haut de la fiche).
- 2Lancez-la dans un terminal, sur la machine où vous utilisez Claude Code.
- 3Demandez la tâche à Claude comme d'habitude : il charge le skill quand la demande s'y prête.