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:
2026-01-31 17:33:19 +00:00
parent 56f37892c0
commit 15c6c5a24f
10 changed files with 1935 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "mcp-outline-postgresql",
"version": "1.3.3",
"version": "1.3.4",
"description": "MCP Server for Outline Wiki via PostgreSQL direct access",
"main": "dist/index.js",
"scripts": {
@@ -21,16 +21,17 @@
"license": "MIT",
"dependencies": {
"@modelcontextprotocol/sdk": "^1.0.0",
"pg": "^8.11.3",
"dotenv": "^16.3.1",
"pg": "^8.11.3",
"zod": "^3.22.4"
},
"devDependencies": {
"@types/jest": "^29.5.11",
"@types/node": "^20.10.0",
"@types/pg": "^8.10.9",
"typescript": "^5.3.2",
"ts-node": "^10.9.2",
"jest": "^29.7.0",
"@types/jest": "^29.5.11"
"ts-jest": "^29.4.6",
"ts-node": "^10.9.2",
"typescript": "^5.3.2"
}
}
}