home/categories/testing/sanity-io-next-sanity-agents-skills-vitest-skill-md
testingtesting-security

vitest

Vitest fast unit testing framework powered by Vite with Jest-compatible API. Use when writing tests, mocking, configuring coverage, or working with test filtering and fixtures.

sanity-io
maintainer
sanity-io
Updated 1/29/2026
Stars
940
Forks
108
quick start

Installation and usage

Vitest fast unit testing framework powered by Vite with Jest-compatible API. Use when writing tests, mocking, configuring coverage, or working with test filtering and fixtures.

Installation
$ install --globalskills.sh
Usage

Once installed, you can use this skill by running the following command in your terminal:

skills use vitest