test: align Parallels smoke guards

This commit is contained in:
Peter Steinberger
2026-04-26 16:20:58 +01:00
parent a87edd732d
commit b438a9cc08
2 changed files with 2 additions and 1 deletions

View File

@@ -128,6 +128,7 @@ describe("install.ps1 failure handling", () => {
"function Ensure-Node { return $true }",
"function Add-ToPath { param([string]$Path) }",
"function Invoke-NativeCommandCapture {",
" param([string]$FilePath, [string[]]$Arguments)",
" return @{ ExitCode = 0; Stdout = 'npm stdout'; Stderr = 'npm stderr' }",
"}",
"$NoOnboard = $true",

View File

@@ -28,7 +28,7 @@ describe("Parallels smoke model selection", () => {
expect(script, scriptPath).toContain("workspace-state.json");
expect(script, scriptPath).toContain("IDENTITY.md");
expect(script, scriptPath).toContain("BOOTSTRAP.md");
expect(script, scriptPath).toContain("--session-id parallels-");
expect(script, scriptPath).toMatch(/--session-id\s+['"]?parallels-/);
expect(script, scriptPath).toContain("agents.defaults.skipBootstrap true --strict-json");
}
});