Docs
    Testing with Vitest

    Testing with Vitest

    A quick overview of Vitest for testing your application.

    Vitest is a fast unit-testing framework built by the Vite team. It offers a familiar Jest-like API, instant server start, and speedy file changes. It’s intended to work seamlessly with Vite, making setup straightforward in modern projects.

    Key Features

    • ⚡ Fast: Vitest runs test suites quickly with a cold start.
    • 🚀 Vite Integration: Built on top of Vite, ensuring minimal configuration.
    • 🧪 Jest-Compatible API: Reuse existing Jest knowledge and code.
    • 🌐 Browser & Node.js: Supports both client and server environments.

    Installation

    bun install -D vitest

    Coming soon: A guide on start testing with Vitest.