mirror of
https://github.com/czlonkowski/n8n-mcp.git
synced 2026-03-17 16:03:08 +00:00
Address code review feedback from PR #285: 1. Fix Failing Test (CRITICAL) - Updated test from baseDescription.defaultVersion to description.defaultVersion - Added test to verify baseDescription is correctly ignored (legacy bug) 2. Add Missing Test Coverage (HIGH PRIORITY) - Test currentVersion priority over description.defaultVersion - Test currentVersion = 0 edge case (version 0 should be valid) - All 34 tests now passing 3. Enhanced Documentation - Added comprehensive JSDoc for extractVersion() explaining priority chain - Enhanced validation comments explaining why typeVersion must run before langchain skip - Clarified that parameter validation (not typeVersion) is skipped for langchain nodes Test Results: - ✅ 34/34 tests passing - ✅ Version extraction priority chain validated - ✅ Edge cases covered (version 0, missing properties) - ✅ Legacy bug prevention tested 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>