feat: Add comprehensive Jest test suite (209 tests)
- Add Jest configuration for TypeScript testing - Add security utilities tests (44 tests) - Add Zod validation tests (34 tests) - Add cursor pagination tests (25 tests) - Add query builder tests (38 tests) - Add tools structure validation (68 tests) - All 164 tools validated for correct structure - Version bump to 1.3.4 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
32
CHANGELOG.md
32
CHANGELOG.md
@@ -2,6 +2,38 @@
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
## [1.3.4] - 2026-01-31
|
||||
|
||||
### Added
|
||||
|
||||
- **Test Suite:** Comprehensive Jest test infrastructure with 209 tests
|
||||
- `jest.config.js`: Jest configuration for TypeScript
|
||||
- `src/utils/__tests__/security.test.ts`: Security utilities tests (44 tests)
|
||||
- `src/utils/__tests__/validation.test.ts`: Zod validation tests (34 tests)
|
||||
- `src/utils/__tests__/pagination.test.ts`: Cursor pagination tests (25 tests)
|
||||
- `src/utils/__tests__/query-builder.test.ts`: Query builder tests (38 tests)
|
||||
- `src/tools/__tests__/tools-structure.test.ts`: Tools structure validation (68 tests)
|
||||
|
||||
### Tested
|
||||
|
||||
- **Utilities Coverage:**
|
||||
- UUID, email, URL validation
|
||||
- Rate limiting behaviour
|
||||
- HTML escaping and sanitization
|
||||
- Pagination defaults and limits
|
||||
- Cursor encoding/decoding
|
||||
- SQL query building
|
||||
|
||||
- **Tools Structure:**
|
||||
- All 164 tools validated for correct structure
|
||||
- Input schemas have required properties defined
|
||||
- Unique tool names across all modules
|
||||
- Handlers are functions
|
||||
|
||||
### Dependencies
|
||||
|
||||
- Added `ts-jest` for TypeScript test support
|
||||
|
||||
## [1.3.3] - 2026-01-31
|
||||
|
||||
### Fixed
|
||||
|
||||
Reference in New Issue
Block a user