From f2e8234307946443ca45a8295e363754ecff40fe Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Sat, 6 Jun 2026 07:36:44 -0700 Subject: [PATCH] test: update non-Termux workspace-scope fixtures for #38358 fix The non-Termux web/TUI install path now scopes to --workspace ; update two fixtures that asserted the old unscoped install commands. --- tests/hermes_cli/test_tui_npm_install.py | 2 ++ tests/hermes_cli/test_web_ui_build.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/hermes_cli/test_tui_npm_install.py b/tests/hermes_cli/test_tui_npm_install.py index b0e40e918ad..5d52e4276c4 100644 --- a/tests/hermes_cli/test_tui_npm_install.py +++ b/tests/hermes_cli/test_tui_npm_install.py @@ -255,6 +255,8 @@ def test_make_tui_argv_keeps_desktop_workspace_install_behaviour( assert calls[0][0][0] == [ "/bin/npm", "install", + "--workspace", + "ui-tui", "--silent", "--no-fund", "--no-audit", diff --git a/tests/hermes_cli/test_web_ui_build.py b/tests/hermes_cli/test_web_ui_build.py index 06a453277cd..0783af22a13 100644 --- a/tests/hermes_cli/test_web_ui_build.py +++ b/tests/hermes_cli/test_web_ui_build.py @@ -218,7 +218,7 @@ class TestBuildWebUISkipsWhenFresh: assert result is True args, kwargs = mock_run.call_args - assert args[0] == ["/usr/bin/npm", "ci", "--silent"] + assert args[0] == ["/usr/bin/npm", "ci", "--workspace", "web", "--silent"] assert kwargs["cwd"] == tmp_path