Fix integration tests

This commit is contained in:
2026-05-26 13:38:52 -05:00
parent c3ddcb336a
commit ad2976842f
3 changed files with 15 additions and 7 deletions
+7
View File
@@ -350,14 +350,21 @@ func TestEnsurePythonAndNode(t *testing.T) {
}
ensureNodeLTS()
hasInstall := false
hasPnpmSetup := false
for _, cmd := range runShellCmds {
if strings.Contains(cmd, "nvm install --lts") {
hasInstall = true
}
if strings.Contains(cmd, "pnpm setup") {
hasPnpmSetup = true
}
}
if !hasInstall {
t.Errorf("expected nvm install --lts, got: %v", runShellCmds)
}
if !hasPnpmSetup {
t.Errorf("expected pnpm setup, got: %v", runShellCmds)
}
}
func TestInstallPipEdgeCases(t *testing.T) {