vitest-mocking
Vitest mocking patterns and test double strategies. Use when writing tests that need mocks, spies, stubs, or fakes. Triggers include: mocking modules, stubbing globals (fetch, Date, timers), testing composables, mocking imports (default/named), creating test doubles, replacing dependencies, verifying mock calls, cleaning up mocks, or any question about "how do I mock X in Vitest". Also use when reviewing tests for proper mocking practices.
$ Instalar
git clone https://github.com/alexanderop/workoutTracker /tmp/workoutTracker && cp -r /tmp/workoutTracker/.claude/skills/vitest-mocking ~/.claude/skills/workoutTracker// tip: Run this command in your terminal to install the skill
Repository

alexanderop
Author
alexanderop/workoutTracker/.claude/skills/vitest-mocking
3
Stars
0
Forks
Updated1w ago
Added1w ago