SKILL44.1K installs6.0K

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.

Type
Skill
Author
antfu
Category
Testing
GitHub stars
6.0K
Installs
44.1K
Last updated
October 30, 2026

Install

npx skills add https://github.com/antfu/skills --skill vitest

Use cases


Frequently Asked Questions

What kind of projects is this skill for?

It targets Vite-based projects, since Vitest is a unit testing framework powered by Vite.

Is the API compatible with Jest?

Yes, Vitest exposes a Jest-compatible API, which the skill covers when writing tests.

Does it cover coverage configuration and mocking?

Yes, the skill applies to mocking, coverage configuration, test filtering, and fixtures.


About this skill

Covers Vitest, the Vite-powered unit testing framework with a Jest-compatible API. It applies to writing tests, mocking, configuring coverage, and working with test filtering and fixtures. Use it when adding or maintaining tests in a Vite-based project.

Summary written with AI assistance from the project's public description.


Categories


More from antfu


Similar Skills