vitest-dev/vitest

Next generation testing framework powered by Vite.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 52 minutes ago
Added to GitGenius on September 3rd, 2026
Created on December 3rd, 2021
Open Issues & Pull Requests: 395 (-1)
GitHub issues: Enabled
Number of forks: 1,968
Total Stargazers: 17,069 (+0)
Total Subscribers: 62 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 7.8 hours
Mean response time: 26.6 days
90th percentile: 40.6 days
Tracked items: 1,778

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 83% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "pending triage" is answered fastest, typically in about 4 hours, while "p2-nice-to-have" waits about 3 days. 52% of tracked open issues have had no activity in three months. Only 6% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 300
New in 7 days: 19
Closed in 7 days: 9
Avg open age: 326 days
Stale 30+ days: 230
Stale 90+ days: 164

Recent activity

Opened in 7 days: 17
Closed in 7 days: 8
Comments in 7 days: 5
Events in 7 days: 40

Top labels

  • pending triage (740)
  • p3-minor-bug (349)
  • enhancement: pending triage (202)
  • p2-nice-to-have (172)
  • needs reproduction (150)
  • feat: browser (147)
  • upstream (84)
  • feat: coverage (79)

Detailed Description

Vitest is a testing framework powered by Vite that brings next-generation testing capabilities to JavaScript and TypeScript projects.

Vitest solves the problem of test infrastructure fragmentation by leveraging Vite's existing configuration, transformers, resolvers, and plugins, allowing developers to use the same setup from their application in their tests. This approach eliminates configuration duplication and enables instant watch mode with hot module replacement-like behavior for tests. The framework provides Jest-compatible APIs through Chai assertions and Jest expect, making migration straightforward for teams familiar with Jest, while adding native code coverage via V8 or Istanbul and support for both JSDOM and happy-dom for DOM and browser API mocking.

Vitest suits projects already using Vite or those seeking faster test execution with modern tooling. It is particularly valuable for component testing across multiple frameworks including Vue, React, Svelte, Lit, and Marko through its browser mode, which runs tests natively in the browser. The tool includes Jest-compatible mocking, stubbing, and spies, snapshot testing, benchmarking support, type-level testing via expect-type, and features like test filtering, concurrent execution, sharding, and project support. Teams should choose Vitest if they want to avoid maintaining separate configurations for their application and tests, or if they need the performance benefits of Vite's transformation pipeline applied to their test suite.

The project maintains active development with regular updates addressing both new features and compatibility improvements. Development activity shows consistent engagement with the codebase and responsiveness to the testing ecosystem's evolving needs. The project sustains community involvement through dedicated communication channels and comprehensive documentation including examples and guides.