vitest

Run Jest-compatible unit tests for Vite projects with coverage and snapshots.

1|Updated Feb 9, 2026
One-click install
npx skills add https://github.com/kirklin/skills --skill vitest-kirklin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vitest
Source: https://github.com/kirklin/skills/tree/main/skills/vitest
Command: npx skills add https://github.com/kirklin/skills --skill vitest-kirklin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Vitest provides fast, Jest-compatible unit testing for Vite-powered projects, enabling rapid feedback during development and CI.

Core Features & Use Cases

  • Vite-native test runner with fast transformation pipeline and hot-test updates
  • Jest-compatible API with familiar describe/it, mocking, and snapshot support
  • Built-in coverage, native ESM, TypeScript, and JSX support, plus parallel execution
  • Streamlined workflows for writing tests, configuring coverage, and filtering tests

Quick Start

Install Vitest in your project and start writing tests to accelerate feedback.

Frequently Asked Questions about vitest

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up unit testing for a Vite project?

You can set up unit testing by installing Vitest, which provides a Vite-native transformation pipeline and a Jest-compatible API to accelerate development feedback.

Can I use a Jest-compatible API with native ESM and TypeScript?

Yes, Vitest offers a Jest-compatible API with native ESM, TypeScript, and JSX support, allowing you to use familiar describe/it blocks alongside built-in mocking and snapshots.

Does Vitest support watch mode and hot-test updates for rapid feedback?

Vitest supports watch mode with hot-test updates, leveraging the Vite transformation pipeline to deliver fast feedback during development and continuous integration workflows.

How do I configure coverage and filter tests across Vite apps?

You can configure coverage and filter tests across Vite apps using Vitest's built-in coverage tooling, which streamlines workflows for writing tests and managing test execution.

What is the best way to run parallel execution for native ESM tests?

The best way to run parallel execution for native ESM tests is using Vitest, which provides built-in parallel execution and integrated snapshot tooling alongside its Jest-compatible API.