Add test command guide

This commit is contained in:
huchenlei
2024-06-13 17:25:32 -04:00
parent ce63c88976
commit 24f1dde35f
2 changed files with 5 additions and 0 deletions

View File

@@ -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.

View File

@@ -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": {