docs: fix JS test command and add terminal.js to architecture tree

This commit is contained in:
Brian Krabach
2026-03-28 02:38:28 -07:00
parent 18365e246c
commit 110a503df0
+5 -2
View File
@@ -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)
``` ```