Vite Test Utilities
JSON →Vite Test Utilities (`vite-test-utils`) is a library designed to streamline integration and end-to-end testing for Vite applications. It provides an approachable set of APIs, including a web-standard `$fetch` and methods for manual server and browser control, which can be used out-of-the-box. The library focuses on instant server and browser startup by leveraging Vite's dev or preview server and Playwright, significantly reducing boilerplate for test environments. It supports fixture-based testing with overridable Vite configurations and is highly optimized for use with Vitest, aiming for lightning-fast test execution. The current stable version is `0.6.0`, which includes support for Vite v4 and Vitest 0.26. The project demonstrates an active development cadence, frequently releasing updates to align with its core dependencies, ensuring compatibility with the evolving Vite ecosystem.
Traffic · last 30 days ↓25% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France