Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 892 Bytes

File metadata and controls

26 lines (19 loc) · 892 Bytes

Overview

Vitest is a next-generation testing framework built on top of Vite. It provides a fast, modern testing experience with features like instant hot module replacement, native ESM support, and out-of-the-box TypeScript support.

Features

  • Lightning Fast: Powered by Vite's transformation pipeline
  • Jest Compatible: Drop-in replacement for most Jest APIs
  • ESM First: Native ES modules support
  • TypeScript: Zero-config TypeScript support
  • Watch Mode: Instant HMR for tests
  • UI Mode: Built-in test UI for debugging
  • Coverage: Integrated code coverage with c8 or Istanbul
  • Component Testing: First-class support for testing React components

Use Cases

  • Unit testing React components
  • Integration testing
  • Vite-based projects
  • Projects migrating from Jest
  • Modern TypeScript applications

Pricing

Free and open source (MIT License)