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
更新於 1/29/2026
星標
940
分支
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.

安裝
$ install --globalskills.sh
使用

安裝後,您可以通過在終端運行以下命令來使用此技能:

skills use vitest