English
Vitest UI
Powered by Vite, Vitest also has a dev server under the hood when running the tests. This allows Vitest to provide a beautiful UI to view and interact with your tests. The Vitest UI is optional, you can install it by:
npm i -D @vitest/ui
npm i -D @vitest/ui
Then you can start the tests with UI by passing the --ui
flag:
vitest --ui
vitest --ui
Then you can visit the Vitest UI at http://localhost:51204/__vitest__/