Files
ECC/tests/lib
haelyra e413166c50 test(hooks): make context-gate tests portable to Windows (#3106)
The hook proposes a correct absolute checkpoint path on Windows, but the
tests located that line with /^\s+[/\\].*\.md$/, which only matches paths
starting with a slash. Windows paths start with a drive letter (C:\...),
so every case that read the proposed path saw undefined and failed.

- Extract the proposed checkpoint as the indented line that ends in .md
  and satisfies path.isAbsolute, so POSIX and Windows paths both match.
- Include the hook output in the "both fires should propose" assertion
  so a genuine decline is diagnosable from CI logs.
- Write transcript fixtures into private fs.mkdtempSync directories
  instead of predictable names directly under os.tmpdir() (CodeQL
  js/insecure-temporary-file) in context-gate, context-gate-state and
  ecc-context-monitor tests.
2026-11-16 22:07:01 -05:00
..
2026-11-05 23:24:35 -05:00
2026-11-05 23:24:06 -05:00