mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-28 02:02:08 +00:00
Add test command guide
This commit is contained in:
@@ -20,3 +20,7 @@ in ComfyUI's front-end code.
|
|||||||
- Run `npm install` to install the necessary packages
|
- Run `npm install` to install the necessary packages
|
||||||
- Start local ComfyUI backend at `localhost:8188`
|
- Start local ComfyUI backend at `localhost:8188`
|
||||||
- Run `npm run dev` to start the dev server
|
- Run `npm run dev` to start the dev server
|
||||||
|
|
||||||
|
## Test
|
||||||
|
|
||||||
|
- Run `npm run test` to execute all unit tests.
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"build": "tsc && vite build",
|
"build": "tsc && vite build",
|
||||||
|
"test": "cd tests-ui && npm run test",
|
||||||
"preview": "vite preview"
|
"preview": "vite preview"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
Reference in New Issue
Block a user