mirror of
https://github.com/czlonkowski/n8n-mcp.git
synced 2026-01-30 06:22:04 +00:00
Added 25 new tests to improve coverage for workflow activation/deactivation feature: - 7 tests for handlers-workflow-diff.test.ts (activation/deactivation handler logic) - 8 tests for workflow-diff-engine.test.ts (validate/apply activate/deactivate operations) - 10 tests for n8n-api-client.test.ts (API client activation/deactivation methods) Coverage improvements: - Branch coverage increased from 77% to 85.58% - All 3512 tests passing Tests cover: - Successful workflow activation/deactivation after updates - Error handling for activation/deactivation failures - Validation of activatable trigger nodes (webhook, schedule, etc.) - Rejection of workflows without activatable triggers - API client error cases (not found, already active/inactive, server errors) Conceived by Romuald Członkowski - www.aiadvisors.pl/en