| it() / test() | Define test | | describe() | Group tests | | beforeEach() / afterEach() | Per-test hooks | | beforeAll() / afterAll() | Per-suite hooks | | .skip | Skip test/suite | | .only | Run only this | | .todo | Placeholder | | .concurrent | Parallel execution | | .each([...]) | Parameterized tests |
Vitest test sui modelli di framework e sulle migliori pratiche. Da utilizzare durante la scrittura di unit test, test di integrazione, configurazione di vitest.config, simulazione con vi.mock/vi.fn, utilizzo di snapshot o impostazione della copertura del test. Trigger su description, it, wait, vi.mock, vi.fn, beforeEach, afterEach, vitest. Fonte: existential-birds/beagle.
Apri il tuo terminale o strumento da riga di comando (Terminal, iTerm, Windows Terminal, ecc.) Copia ed esegui questo comando: npx skills add https://github.com/existential-birds/beagle --skill vitest-testing Dopo l'installazione, la skill verrà configurata automaticamente nel tuo ambiente AI di coding e sarà pronta all'uso in Claude Code, Cursor o OpenClaw