czlonkowski
3578f2cc31
test: Add comprehensive test coverage for workflow activation/deactivation
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
2025-11-06 23:58:34 +01:00
..
2025-07-28 22:45:09 +02:00
2025-10-08 09:43:33 +02:00
2025-07-28 22:45:09 +02:00
2025-07-28 23:25:42 +02:00
2025-06-08 11:07:51 +00:00
2025-07-30 13:44:35 +02:00
2025-10-02 22:28:23 +02:00
2025-07-28 22:45:09 +02:00
2025-11-06 23:27:13 +01:00
2025-07-29 18:09:03 +02:00
2025-10-04 09:30:43 +02:00
2025-11-06 23:58:34 +01:00
2025-09-14 15:42:35 +02:00
2025-07-28 13:05:38 +02:00
2025-07-28 13:05:38 +02:00
2025-06-07 21:12:17 +00:00
2025-06-08 11:07:51 +00:00
2025-06-08 11:07:51 +00:00
2025-07-31 11:48:31 +02:00
2025-07-28 13:05:38 +02:00
2025-07-30 13:44:35 +02:00
2025-07-30 13:44:35 +02:00
2025-07-28 14:15:09 +02:00
2025-06-07 21:12:17 +00:00
2025-06-07 21:12:17 +00:00
2025-06-07 21:12:17 +00:00
2025-06-08 11:07:51 +00:00
2025-06-08 11:07:51 +00:00
2025-06-07 15:57:49 +00:00
2025-06-07 21:12:17 +00:00
2025-06-07 21:12:17 +00:00
2025-07-06 12:35:31 +02:00
2025-06-07 22:11:30 +00:00
2025-06-08 11:07:51 +00:00
2025-06-08 11:07:51 +00:00
2025-06-08 11:07:51 +00:00
2025-06-07 22:11:30 +00:00
2025-06-07 21:12:17 +00:00
2025-06-07 21:12:17 +00:00