mirror of
https://github.com/soconnor0919/beenpad.git
synced 2026-02-05 00:06:40 -05:00
first commit
This commit is contained in:
29
node_modules/@vitest/ui/README.md
generated
vendored
Normal file
29
node_modules/@vitest/ui/README.md
generated
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
# @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`.
|
||||
Reference in New Issue
Block a user