test: mock AnthropicClient in analyze tests to prevent live API calls

This commit is contained in:
Kazuma
2026-06-08 12:08:37 -04:00
parent 76c2a671f4
commit ad1c3fe3c9
31 changed files with 415 additions and 171 deletions
+1 -7
View File
@@ -1,11 +1,5 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
# Format all staged files with Prettier
npm run format
# Lint and fix staged files
# Lint and auto-fix staged files only (fast)
npx lint-staged
# Run tests
npm test