skillhub/cli/test
dongmucat 43a201c8d5 fix(cli): use fileURLToPath for cross-platform cwd path compatibility
The issue was that new URL().pathname returns Unix-style paths on Windows
(e.g., /D:/a/skillhub/...) which Bun.spawn() cannot resolve correctly.
Using fileURLToPath() converts the URL to a proper platform-specific path.

Changes:
- cli/test/helpers/run-cli.ts: use fileURLToPath for cwd
- cli/test/integration/version-command.test.ts: same fix for build spawn
2026-04-29 16:13:50 +08:00
..
helpers fix(cli): use fileURLToPath for cross-platform cwd path compatibility 2026-04-29 16:13:50 +08:00
integration fix(cli): use fileURLToPath for cross-platform cwd path compatibility 2026-04-29 16:13:50 +08:00
unit fix(cli): resolve Windows CI test failures across three platform issues 2026-04-29 16:03:09 +08:00