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

This commit is contained in:
saikiranvella
2026-06-08 12:08:37 -04:00
parent 17bc985260
commit 357dfb8249
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
+4
View File
@@ -1 +1,5 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
# Run full test suite before push
npm test