A modern testing framework that shares Vite's config and gives you instant HMR in watch mode. You get a Jest-compatible API with native ESM support, so migration is usually just swapping `jest` for `vi`. Recent versions added control-flow hooks like `aroundEach`, better test metadata with tags, and real browser testing through Playwright. Coverage works out of the box with v8, snapshots update inline, and TypeScript needs zero extra config. If you're already using Vite, this is the obvious choice. If you're not, it's still faster than Jest and the browser mode actually runs tests in Chrome or Firefox instead of simulating DOM behavior.

skills.sh installs
201
GitHub stars
23
last updated
Aug 21, 2026

Install

$ npx -y skills add itechmeat/llm-code --skill vitest --agent claude-code

Installs into .claude/skills of the current project.

Files

Vitest

Next generation testing framework powered by Vite.

Quick Navigation

When to Use

  • Testing Vite-based applications (shared config)
  • Need Jest-compatible API with native ESM support
  • Component testing in real browser
  • Fast watch mode with HMR
  • TypeScript testing without extra config
  • Parallel test execution

Installation

Install: npm install -D vitest. Requires Node.js >=22 and Vite >=6.4 in v5.

Release Highlights (5.0.0)

Sponsors

Details

Repository
github.com/itechmeat/llm-code
Categories
Backend & APIs, Testing & QA, Documentation, AI & Agent Building, Automation & Workflows
First seen
Jun 3, 2026

More from itechmeat/llm-code

All 10
1hairyf avatarvitehairyf/skillsVite build tool configuration, plugin API, SSR, and Vite 8 Rolldown migration. Use when working with Vite projects, vite.config.ts, Vite plugins, or building li200skills.sh installs
2jezweb avatargemini-peer-reviewjezweb/claude-skillsGet a second opinion from Gemini on code, architecture, debugging, or security. Uses direct Gemini API calls — no CLI dependencies. Trigger with 'ask gemini', '200skills.sh installs
3community-access avataroffice-remediationcommunity-access/accessibility-agentsRemediate Office documents (Word/Excel/PowerPoint) for accessibility. Generates Python scripts via python-docx, openpyxl, python-pptx API references.198skills.sh installs
4dfinity avatarvetkddfinity/icskillsImplement on-chain encryption using vetKeys (verifiable encrypted threshold key derivation). Covers key derivation, IBE encryption/decryption, transport keys, a198skills.sh installs
5jezweb avatargemini-image-genjezweb/claude-skillsGenerate images using Google's Gemini API — hero backgrounds, OG images, placeholder photos, textures, and style-matched variants. Uses free-tier models for dra197skills.sh installs
6sendaifun avatarmetaplexsendaifun/skillsComplete Metaplex Protocol guide for Solana NFTs and digital assets. Covers Core (next-gen NFTs), Token Metadata, Bubblegum (compressed NFTs), Candy Machine, Ge197skills.sh installs