网页
综合
更新时间 2026-11-13 17:18:05
Vitest | Next Generation testing framework
自动蜘蛛
vitest.dev
正文约 845 字
A Vite-native testing framework. It's fast!
Vitest was created to make testing just work for Vite apps. By building on top of Vite, Vitest natively understands your Vite config and is able to reuse the same resolve and transform pipelines.
You can also use Vitest even if you are not using Vite. It is Jest-compatible and works for backend code too.
Reuse Vite's config and plugins - consistent across your app and tests. But it's not required to use Vitest!
Expect, snapshot, coverage, and more - migrating from Jest is straightforward.
Only rerun the related changes, just like HMR for tests!
Out-of-box ESM, TypeScript and JSX support powered by Oxc.
Vitest is free and open source, made possible by wonderful sponsors.
Supercharge your tests with unparalleled performance made for the modern web
© 2026 VoidZero Inc. and Vitest contributors.
本页为82搜索生成的网页快照,内容来自站内索引;演示数据的原文链接仅作示例。