vitest-testing-expert

Configures Vitest testing framework for Vite-integrated projects and migrates Jest suites.

Updated Mar 15, 2026
One-click install
npx skills add https://github.com/ariesanhthu/HiveK --skill vitest-testing-expert-ariesanhthu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vitest-testing-expert
Source: https://github.com/ariesanhthu/HiveK/tree/main/.agent/skills/vitest-expert
Command: npx skills add https://github.com/ariesanhthu/HiveK --skill vitest-testing-expert-ariesanhthu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers configure, migrate to, and optimize tests using the Vitest testing framework, especially within Vite-integrated projects.

Core Features & Use Cases

  • Vitest Configuration: Guides on setting up Vitest with Vite, including pool optimization and HMR integration.
  • Jest Migration: Provides strategies for migrating from Jest to Vitest, addressing API differences and mock behaviors.
  • Browser Testing: Assists in configuring and optimizing browser-based testing scenarios.
  • Performance Optimization: Identifies and resolves bottlenecks in test execution speed.
  • Use Case: A developer struggling to migrate their Jest test suite to Vitest can use this Skill to understand specific API changes, mock configurations, and snapshot compatibility settings.

Quick Start

Use the vitest-testing-expert skill to help me configure Vitest for browser mode testing with Playwright.

Frequently Asked Questions about vitest-testing-expert

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

FAQPage Schema
How do I migrate from Jest to Vitest without breaking existing snapshots and mocks?

Vitest browser testing configuration requires integrating Playwright and optimizing the Vite build pipeline to execute tests in real browser environments. The Skill guides setting up browser mode, configuring Playwright, and managing Vite integration for this scenario.

Why is my Vitest test execution slow and how can I optimize Vite integration?

Vitest performance optimization involves identifying execution bottlenecks, configuring pool optimization, and leveraging Vite HMR integration to speed up tests. The Skill helps resolve these specific Vite integration and performance issues.

Does Vitest support native ESM and workspace configurations for complex projects?

Vitest supports native ESM capabilities and workspace configurations to handle complex, multi-package project structures. The Skill provides expert guidance on configuring these advanced scenarios within your Vite-integrated projects.

What is the best way to configure Vitest for multi-browser testing scenarios?

Configuring Vitest for multi-browser testing requires setting up browser mode, managing Playwright integration, and optimizing the Vite build tool pipeline. The Skill assists in configuring and optimizing these browser-based testing scenarios.