Skip to content

Commit

Permalink
docs: added more description about connecting UI with right mode. (#7119
Browse files Browse the repository at this point in the history
)
  • Loading branch information
bandhan-majumder authored Jan 13, 2025
1 parent 6e51843 commit e2e0658
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/guide/ui.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ vitest --ui

Then you can visit the Vitest UI at <a href="http://localhost:51204/__vitest__/">`http://localhost:51204/__vitest__/`</a>

::: warning
The UI is interactive and requires a running Vite server, so make sure to run Vitest in `watch` mode (the default). Alternatively, you can generate a static HTML report that looks identical to the Vitest UI by specifying `html` in config's `reporters` option.
:::

<img alt="Vitest UI" img-light src="/ui-1-light.png">
<img alt="Vitest UI" img-dark src="/ui-1-dark.png">

Expand Down

0 comments on commit e2e0658

Please sign in to comment.