From 110a503df0176cd03d9991731fc7bfef02caa1f9 Mon Sep 17 00:00:00 2001 From: Brian Krabach Date: Sat, 28 Mar 2026 02:38:28 -0700 Subject: [PATCH] docs: fix JS test command and add terminal.js to architecture tree --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index eb7d987..2e5e31a 100644 --- a/README.md +++ b/README.md @@ -141,8 +141,9 @@ python -m muxplex # Python tests (pytest) pytest -# JavaScript tests (node) -node muxplex/frontend/tests/run-tests.js +# JavaScript tests (node:test) +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) │ ├── index.html │ ├── app.js + │ ├── terminal.js # xterm.js + WebSocket terminal init │ ├── style.css + │ ├── manifest.json # PWA manifest │ └── tests/ # JavaScript unit tests └── tests/ # Python tests (pytest) ```