GitNexus/gitnexus/test
Gergo Magyar 78b6541f5b fix(hooks): harden cross-platform safety and add regression tests
- Remove shell:true from CJS hook npx fallback, use npx.cmd on Windows
- Use sendHookResponse() consistently in both hook variants
- Fix setup.ts path escaping with JSON.stringify for safe interpolation
- Add path.isAbsolute(cwd) guards against crafted stdin input
- Reduce PreToolUse CLI timeout from 8s to 7s
- Truncate debug error messages to 200 chars
- Add 73 regression tests covering shell injection, cwd validation,
  dispatch routing, staleness detection, and cross-platform spawning
2026-03-07 08:46:07 +00:00
..
fixtures test: add test suite with vitest (unit + integration + fixtures) 2026-03-01 20:07:02 +05:30
helpers test: add test suite with vitest (unit + integration + fixtures) 2026-03-01 20:07:02 +05:30
integration test: add test suite with vitest (unit + integration + fixtures) 2026-03-01 20:07:02 +05:30
unit fix(hooks): harden cross-platform safety and add regression tests 2026-03-07 08:46:07 +00:00