Files
NapCatQQ/.pnpm-store/v3/files/10/9c4c2cf60ab5b213fd30ff54fe66d6336146b95f391381466d40ac27852db71cf01d191fabeccaaaa33b782152c7224face981ba8112bf1a059e9f4306dc48
T
TanTan e311ca3275
Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

30 lines
862 B
Plaintext

# @vitest/ui
This package is for UI interface of Vitest.
## Development Setup
At project root, create terminals with each of the following commands:
```bash
nr ui:dev
```
```bash
nr test --api
```
As the last command, you can use any of the available tests suites instead. Make sure that they run at 51204 port or specify a custom port with `VITE_PORT` environmental variable when running the first command. For example,
```bash
VITE_PORT=3200 nr ui:dev
```
```bash
nr test --api=3200
```
Open the browser at the URL printed by the first command. For example, `http://localhost:5173/`. If you see a connection error, it means the port is specified incorrectly.
To preview the browser tab, uncomment the "browser-dev-preview" plugin in `vite.config.ts`. To configure the browser state, update the `__vitest_browser_runner__` object in `browser.dev.js`.