
Description
vitest is an agent skill for writing and configuring tests with Vitest, the unit testing framework powered by Vite. It applies when you write tests, add mocks, configure coverage or work with test setups. The skill explains that Vitest uses the same config, transformers, resolvers and plugins as your Vite app, and that it provides a Jest-compatible API, so most Jest suites can run with little change. Its key features include Vite-native transformation for fast updates, a smart watch mode that reruns only the tests affected by changes in the module graph, native support for ESM, TypeScript and JSX without extra configuration, multi-threaded workers for parallel runs, built-in coverage through V8 or Istanbul, and snapshot testing, mocking and spy utilities. 1 as of the date it was generated.…
Highlights
- Writes and configures Vitest unit tests
- Jest-compatible API for easy migration
- Smart watch mode that reruns affected tests
- Coverage with V8 or Istanbul
- Snapshot, mocking and spy utilities
Ratings & Reviews
No ratings yet
Be the first to rate vitest.
People also visit
vitest FAQ
What does the skill cover?
Writing tests, mocking, configuring coverage and working with Vitest test setups.
Can I move a Jest suite to it?
The skill says Vitest offers a Jest-compatible API, so most Jest suites are a drop-in replacement.
Which Vitest version is it based on?
Vitest 5.0.1, according to the skill, which was generated in September 2026.
How do I install it?
Run npx skills add https://github.com/onmax/nuxt-skills --skill vitest.
What are the best vitest alternatives?
Popular alternatives to vitest include vitest, vitest and vitest. See all vitest alternatives




















