test: add unit tests for n8n manager and workflow diff handlers

This commit is contained in:
czlonkowski
2025-07-28 18:15:21 +02:00
parent a37054685f
commit 2b54710fda
8 changed files with 1758 additions and 64 deletions

View File

@@ -401,7 +401,7 @@ export class WorkflowValidator {
type: 'error',
nodeId: node.id,
nodeName: node.name,
message: error
message: typeof error === 'string' ? error : error.message || String(error)
});
});
@@ -410,7 +410,7 @@ export class WorkflowValidator {
type: 'warning',
nodeId: node.id,
nodeName: node.name,
message: warning
message: typeof warning === 'string' ? warning : warning.message || String(warning)
});
});