跳到主要内容

Why Vitest

The Need for a Vite Native Test Runner

There is a lot of duplication between Jest and Vite, forcing users to configure two different pipelines

A test runner that uses the same configuration of your App (through vite.config.js), sharing a common transformation pipeline during dev, build, and test time.