skillhub/cli/test/integration
dongmucat 704f2d2af4 fix(cli): verify Bun.which() path exists before using on Windows
Bun.which('bun') on Windows CI returns a non-existent path
(C:\Users\runneradmin\.bun\bin\bun.exe), causing all integration
tests to fail. Add existsSync() check to fallback to process.execPath
when the resolved path doesn't exist.

Also fix version-command.test.ts to use process.execPath instead of
hardcoded 'bun' string for cross-platform compatibility.

Fixes 19 failing integration tests on Windows platform.
2026-04-29 16:08:53 +08:00
..
auth-commands.test.ts feat(cli): add SkillHub CLI v1 with full command suite 2026-04-29 15:37:04 +08:00
error-output.test.ts fix(cli): improve parse error output 2026-04-29 15:37:05 +08:00
help-command.test.ts fix(cli): improve parse error output 2026-04-29 15:37:05 +08:00
search-command.test.ts fix(cli): improve parse error output 2026-04-29 15:37:05 +08:00
update-command.test.ts feat(cli): add SkillHub CLI v1 with full command suite 2026-04-29 15:37:04 +08:00
version-command.test.ts fix(cli): verify Bun.which() path exists before using on Windows 2026-04-29 16:08:53 +08:00