docs: fix JS test command and add terminal.js to architecture tree
This commit is contained in:
@@ -141,8 +141,9 @@ python -m muxplex
|
|||||||
# Python tests (pytest)
|
# Python tests (pytest)
|
||||||
pytest
|
pytest
|
||||||
|
|
||||||
# JavaScript tests (node)
|
# JavaScript tests (node:test)
|
||||||
node muxplex/frontend/tests/run-tests.js
|
node --test muxplex/frontend/tests/test_terminal.mjs
|
||||||
|
node --test muxplex/frontend/tests/test_app.mjs
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
@@ -178,7 +179,9 @@ muxplex/
|
|||||||
├── frontend/ # Static frontend assets (served as package data)
|
├── frontend/ # Static frontend assets (served as package data)
|
||||||
│ ├── index.html
|
│ ├── index.html
|
||||||
│ ├── app.js
|
│ ├── app.js
|
||||||
|
│ ├── terminal.js # xterm.js + WebSocket terminal init
|
||||||
│ ├── style.css
|
│ ├── style.css
|
||||||
|
│ ├── manifest.json # PWA manifest
|
||||||
│ └── tests/ # JavaScript unit tests
|
│ └── tests/ # JavaScript unit tests
|
||||||
└── tests/ # Python tests (pytest)
|
└── tests/ # Python tests (pytest)
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user