fix: document supported claude hook install path

This commit is contained in:
Affaan Mustafa
2026-04-12 23:29:45 -07:00
parent 9da8e5f6ac
commit 18c90a7a17
6 changed files with 126 additions and 3 deletions

View File

@@ -110,6 +110,17 @@ function runTests() {
}
})) passed++; else failed++;
if (!powerShellCommand) {
console.log(' - skipped help text test; PowerShell is not available in PATH');
} else if (test('exposes the corrected Claude target help text', () => {
const result = run(powerShellCommand, ['--help']);
assert.strictEqual(result.code, 0, result.stderr);
assert.ok(
result.stdout.includes('claude (default) - Install ECC into ~/.claude/'),
'help text should describe the Claude target as a full ~/.claude install surface'
);
})) passed++; else failed++;
console.log(`\nResults: Passed: ${passed}, Failed: ${failed}`);
process.exit(failed > 0 ? 1 : 0);
}