caliber-testing

SKILLFlusso di lavorocommunity
v0.0.0caliber-ai-orgMITAggiornato 26 g faFonte →

Writes Vitest tests following project patterns: __tests__/ directories, vi.mock() for module mocking with vi.hoisted() for test-time factories, global LLM mock from src/test/setup.ts, environment variable save/restore in beforeEach/afterEach, vi.clearAllMocks() lifecycle, and test file organization.

Community-submitted skill. Not yet reviewed by the Forge team. Full prompt content may not be available.Request review →
1kStelle del repo
1Client
1Formati
26 g faUltimo aggiornamento
Skill
Autorecaliber-ai-org
Versione0.0.0
LicenzaMIT
CategoriaFlusso di lavoro
Formatiskill.md
PromptApri (vedi la scheda Prompt)
Compatibilità
Claude✓ Supportato
Cursor
Copilot
ChatGPT
Gemini
Descrizione

Writes Vitest tests following project patterns: __tests__/ directories, vi.mock() for module mocking with vi.hoisted() for test-time factories, global LLM mock from src/test/setup.ts, environment variable save/restore in beforeEach/afterEach, vi.clearAllMocks() lifecycle, and test file organization. Use when user says 'write tests', 'add test coverage', 'test this', creates *.test.ts files, or whe

Parole chiave
skillclaude