Files
claude-hub/.gitignore
Jonathan Flatt 3a56ee0499 feat: improve test coverage for TypeScript files
- Add comprehensive tests for index.ts (91.93% coverage)
- Add tests for routes/claude.ts (91.66% coverage)
- Add tests for routes/github.ts (100% coverage)
- Add tests for utils/startup-metrics.ts (100% coverage)
- Add tests for utils/sanitize.ts with actual exported functions
- Add tests for routes/chatbot.js
- Update test configuration to exclude test files from TypeScript build
- Fix linting issues in test files
- Install @types/supertest for TypeScript test support
- Update .gitignore to exclude compiled TypeScript test artifacts

Overall test coverage improved from ~65% to 76.5%

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-28 15:49:30 +00:00

95 lines
1.0 KiB
Plaintext

# Dependencies
node_modules/
# Environment variables
.env
.env.*
!.env.example
!.env.template
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Testing
coverage/
test-results/
# TypeScript build artifacts
dist/
*.tsbuildinfo
# TypeScript compiled test files
test/**/*.d.ts
test/**/*.d.ts.map
test/**/*.js.map
# Don't ignore the actual test files
!test/**/*.test.js
!test/**/*.spec.js
# Temporary files
tmp/
temp/
# OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
# SSH Keys for testing
ssh_keys_tmp/
# AWS CLI installation files
awscliv2.zip
# IDE files
.idea/
.vscode/
*.swp
*.swo
# Pre-commit
.pre-commit-cache/
# Security files
*.pem
*.key
*.crt
*.p12
*.pfx
# Credential files
credentials
config
auth.json
service-account.json
# Docker secrets
secrets/
# Benchmark results
benchmark_results_*.json
# Temporary and backup files
*.backup
*.tmp
*~
.#*
# Root level clutter prevention
/test-*.js
/PR_SUMMARY.md
/*-proposal.md