vitest
vitest
What it does
- Writing unit/integration tests for Vite projects
- Testing Vue/React/Svelte components
- Mocking modules, timers, or dates
- Running concurrent/parallel tests
- Type testing with TypeScript
- [ ] references/config.md - if setting up vitest.config.ts, CLI, or workspace projects
- [ ] references/test-api.md - if writing test/describe blocks, using hooks, or test fixtures
Derived from the skill's own SKILL.md documentation · extracted 2026-07-23
vitest FAQ
What does the vitest skill do?
Use when writing unit/integration tests for Vite projects - configure vitest.config.ts, write test suites with describe/it, create mock implementations with vi.fn and vi.mock, set up code coverage thresholds, and run tests in parallel Writing unit/integration tests for Vite projects Testing Vue/React/Svelte components
How do I install vitest?
Run: npx -y skills add https://github.com/onmax/nuxt-skills --skill vitest --agent claude-code — the source lives at github.com/onmax/nuxt-skills.
Maintain vitest?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[vitest on getagentictools](https://getagentictools.com/skills/onmax-nuxt-skills-vitest?ref=badge) npx agentictools info skills/onmax-nuxt-skills-vitest The second line is the CLI lookup for this page — handy in READMEs and docs.