mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
Add three end-to-end tests in spawn.launch-regression.test.ts that exercise findExecutable -> spawnProcess for each Windows-supported extension. Each test creates a uniquely-named binary in a tempdir, prepends it to PATH, verifies findExecutable returns the fixture path, then launches via spawnProcess and asserts an exact JSON-arg roundtrip plus stdout/exit code. The previous "does not detect a PowerShell shim from PATH" test is removed: its expectation was satisfied via PATH-prepend (not isolation), so global claude.CMD on CI made it return non-null. The supported-extension contract matches which's hardcoded fallback (.EXE;.CMD;.BAT;.COM); .ps1 is not supported by spawnProcess and not surfaced by which without explicit PATHEXT. Also add maxRetries: 5 / retryDelay: 100 to rmSync cleanups in three Claude integration tests to absorb the brief Windows cwd lock after Claude exits.