Favicon of Vitest

Vitest

Get a fast, Vite-native testing framework with Jest compatibility. Enjoy a smart watch mode and out-of-the-box support for ESM, TypeScript, and JSX.

Screenshot of Vitest website

Vitest is a testing framework that leverages the power of Vite to deliver a remarkably fast and efficient testing experience. By reusing your existing Vite configuration, transformers, resolvers, and plugins, it ensures a consistent environment across your application and tests. This integration simplifies setup and maintenance, allowing you to focus on writing quality tests.

Migrating from other testing frameworks is made simple thanks to its Jest compatibility, supporting familiar APIs like expect, snapshots, and coverage reporting. Key features include:

  • Smart & Instant Watch Mode: Intelligently reruns only the tests related to your changes for instant feedback.
  • Vite-Powered: Utilizes Vite's engine for a fast, on-demand testing experience without bundling overhead.
  • ESM, TypeScript, & JSX: Comes with out-of-the-box support for modern JavaScript features, powered by esbuild.
Categories:

Share:

Ad
Favicon

 

  
 

Similar to Vitest

Favicon

 

  
  
Favicon

 

  
  
Favicon

 

  
  

Command Menu