vitest-devvitest-devOfficialยท1 Agent Skills Included

vitest

Fast Vite-powered testing framework for modern JavaScript projects

Runs unit, component, and browser tests for JavaScript and TypeScript apps using your existing Vite configuration. Eliminates slow test runs and duplicate config files with instant watch mode, native ESM support, and built-in coverage reports. Includes Jest-compatible assertions, mocking, snapshots, and type checking so teams ship reliable code faster.
npx skills add vitest-dev/vitest --all -g -y
Available:

Instructs AI agents on how to build, test, and safely modify the Vitest codebase, including correct test commands, rebuild rules, and code style constraints.

All Skills in This Repository (1)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install Vitest?โ–ผ

Run `npx skills add vitest-dev/vitest --all -g -y` in your terminal to install all tools in this suite globally.

What is Vitest used for?โ–ผ

Vitest is a testing framework for JavaScript and TypeScript projects that runs unit, component, and browser tests using your existing Vite setup.

Is Vitest compatible with Jest?โ–ผ

Yes. Vitest offers Jest-compatible APIs for assertions, mocking, spies, and snapshots, so most Jest tests migrate with minimal changes.

Does Vitest support TypeScript and ESM?โ–ผ

Yes. Vitest is ESM-first with out-of-the-box TypeScript and JSX support, plus type-level testing through expect-type.

Can Vitest run tests in a real browser?โ–ผ

Yes. Browser Mode lets you run component tests for Vue, React, Svelte, and other frameworks in real browsers via Playwright.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’