diff --git a/tests/hermes_cli/test_cmd_update.py b/tests/hermes_cli/test_cmd_update.py index 1e6a2245b2..caac6d3727 100644 --- a/tests/hermes_cli/test_cmd_update.py +++ b/tests/hermes_cli/test_cmd_update.py @@ -130,7 +130,7 @@ class TestCmdUpdateBranchFallback: # 3. web/ — install + "npm run build" for the web frontend full_flags = [ "/usr/bin/npm", - "install", + "ci", "--silent", "--no-fund", "--no-audit", @@ -139,7 +139,7 @@ class TestCmdUpdateBranchFallback: assert npm_calls == [ (full_flags, PROJECT_ROOT), (full_flags, PROJECT_ROOT / "ui-tui"), - (["/usr/bin/npm", "install", "--silent"], PROJECT_ROOT / "web"), + (["/usr/bin/npm", "ci", "--silent"], PROJECT_ROOT / "web"), (["/usr/bin/npm", "run", "build"], PROJECT_ROOT / "web"), ]