vitest/docs/guide/ui.md
2022-06-05 15:14:45 +03:00

762 B

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 interactive with your tests. The Vitest UI is optional, you can install it by:

npm i -D @vitest/ui

Then you can start the tests with UI by passing the --ui flag:

vitest --ui

Then you can visit the Vitest UI at http://localhost:51204/__vitest__/

Vitest UI Vitest UI