Keep dependency installs responsive

This commit is contained in:
王鹏
2026-10-09 19:31:21 +08:00
parent 6c79ce0b26
commit 66dd1da2d1
4 changed files with 140 additions and 65 deletions

View File

@@ -962,7 +962,10 @@ class DeployerTests(unittest.TestCase):
[step.kind for step in plan],
["frontend_install", "frontend_start", "deployment_summary"],
)
self.assertEqual(plan[0].command, [npm, "install"])
self.assertEqual(
plan[0].command,
[npm, "install", "--no-audit", "--no-fund", "--progress=false"],
)
self.assertEqual(plan[1].command[1:3], ["run", "serve"])
def test_resolves_windows_cmd_shims_before_starting_process(self):