ECC/tests
Chris Yau b61f549444
fix(tests): resolve Windows CI test failures (#701)
* fix(tests): skip bash tests on Windows and fix USERPROFILE in resolve-ecc-root

- hooks.test.js: add SKIP_BASH guard for 8 bash-dependent tests
  (detect-project.sh, observe.sh) while keeping 207 Node.js tests running
- resolve-ecc-root.test.js: add USERPROFILE to env overrides in 2
  INLINE_RESOLVE tests so os.homedir() resolves correctly on Windows

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>

* fix(tests): handle BOM in shebang stripping and skip worktree tests on Windows

- validators.test.js: replace regex stripShebang with character-code
  approach that handles UTF-8 BOM before shebang line
- detect-project-worktree.test.js: skip entire file on Windows since
  tests invoke bash scripts directly

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Happy <yesreply@happy.engineering>
2026-03-20 03:37:21 -07:00
..
ci fix(tests): resolve Windows CI test failures (#701) 2026-03-20 03:37:21 -07:00
hooks fix(tests): resolve Windows CI test failures (#701) 2026-03-20 03:37:21 -07:00
integration fix: stabilize windows hook tests 2026-03-20 03:23:37 -07:00
lib fix(tests): resolve Windows CI test failures (#701) 2026-03-20 03:37:21 -07:00
scripts fix: refresh orchestration follow-up after #414 (#430) 2026-03-16 14:29:28 -07:00
codex-config.test.js fix: stop pinning o4-mini in codex config 2026-03-12 07:59:50 -07:00
opencode-config.test.js fix: repair opencode config and project metadata 2026-03-11 01:52:10 -07:00
run-all.js Add PowerShell installer wrapper and update documentation (#532) 2026-03-16 13:35:17 -07:00