Skip to content
V

vitest

Vite-powered unit testing framework

by antfuFree

Launch
#3336in AI Skills
0In stores

Description

vitest is an agent skill from the antfu skills collection that helps a coding agent write, mock and configure unit tests with Vitest. Vitest…

Highlights

  • Jest-compatible test API
  • Native ESM, TypeScript and JSX
  • Shares config with your Vite app
  • Watch mode reruns affected tests
  • V8 or Istanbul coverage
  • Installs from skills.sh

Ratings & Reviews

No ratings yet

Be the first to rate vitest.

People also visit

P

principle-test-behavior-not-implementation

Apply when you write, change, or keep a test

AI Skills
Launch
F

frontend-testing

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

AI Skills
Launch
V

vitest

Vitest API and config reference (Jest-compatible)

AI Skills
Launch
T

testing

Vitest tests, mocks, coverage and failing-test diagnosis

AI Skills
Launch
B

bats-testing-patterns

Master Bash Automated Testing System

AI Skills
Launch
E

e2e-testing-patterns

Comprehensive guide to building reliable

AI Skills
Launch

vitest FAQ

What does this skill cover?

Writing unit tests with Vitest, including mocking, coverage configuration and test options.

Is Vitest like Jest?

Yes. It has a Jest-compatible API, so most Jest suites are a drop-in replacement, according to the skill.

Which version does the skill cover?

The skill is based on Vitest 5.0.1 and was generated on 2026-09-25.

How do I install it?

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

What are the security audit results?

skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.

How popular is it?

The page shows about 40.7K installs, and the antfu/skills repository has 6.0K GitHub stars.

What are the best vitest alternatives?

Popular alternatives to vitest include principle-test-behavior-not-implementation, frontend-testing and vitest. See all vitest alternatives

Developer Stuff

Badges