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