
Description
vitest is an agent skill from the Supabase repository that serves as an API and configuration reference for Vitest, the testing framework powered by Vite. The skill describes Vitest as a Jest-compatible framework and covers mocking with vi.*, spies, fake timers, coverage configuration, fixtures, snapshots and test filtering. The reference notes that Vitest shares its config, transformers, resolvers and plugins with a Vite app. Its features include Vite-native transformation for fast test updates, a Jest-compatible API that makes most Jest suites a drop-in replacement, a smart watch mode that reruns only the tests affected through the module graph, native ESM, TypeScript and JSX support without extra configuration, multi-threaded workers for parallel test runs, and built-in coverage through V8 or Istanbul. The skill itself is based on Vitest 3.x. It is aimed at developers who write or migrate tests in a JavaScript or TypeScript project and want an agent that knows the Vitest API.…
Highlights
- Jest-compatible API reference
- Mocking, spies and fake timers
- Coverage, fixtures and snapshots
- Based on Vitest 3.x
Ratings & Reviews
No ratings yet
Be the first to rate vitest.
People also visit

migrate-to-shoehorn
Migrate test files from `as` type assertions to @total-typescript/shoehorn

frontend-testing
Writing or changing Vitest or React Testing Library tests under `web/` or

javascript-typescript-jest
Jest testing best practices for JavaScript and TypeScript projects
vitest FAQ
What does the vitest skill do?
It gives an agent a reference for the Vitest API and configuration, covering mocks, spies, fake timers, coverage, fixtures and snapshots.
How do I install it?
Run: npx skills add https://github.com/supabase/supabase --skill vitest
Is Vitest compatible with Jest?
The skill describes Vitest as Jest-compatible, so most Jest suites can be used as a drop-in replacement.
Which Vitest version is it based on?
Vitest 3.x, as the skill's own description states.
What security checks has it passed?
skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.
What are the best vitest alternatives?
Popular alternatives to vitest include migrate-to-shoehorn, nodejs-keccak256 and frontend-testing. See all vitest alternatives
