Files
gemini-cli/integration-tests/hooks-system.test.ts
Abhi ed85166a41 test(integration): fix windows integration issues for hook tests
Fixes several issues preventing integration tests from passing on Windows:
- Replaces brittle inline 'node -e' commands with script files to avoid shell quoting issues in PowerShell.
- Normalizes paths to forward slashes to prevent escape sequence misinterpretation in generated scripts.
- Ensures rig.setup() is called before accessing rig.testDir to properly initialize test environment.
- Corrects hooks settings structure (enabled moved to hooksConfig) to match schema validation.
2026-02-06 12:15:16 -05:00

70 KiB