mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(core): Continue with error output reverse items in success branch (#11684)
This commit is contained in:
@@ -188,7 +188,11 @@ describe('WorkflowExecute', () => {
|
||||
if (nodeData.data === undefined) {
|
||||
return null;
|
||||
}
|
||||
return nodeData.data.main[0];
|
||||
return nodeData.data.main[0]!.map((entry) => {
|
||||
// remove pairedItem from entry if it is an error output test
|
||||
if (testData.description.includes('error_outputs')) delete entry.pairedItem;
|
||||
return entry;
|
||||
});
|
||||
});
|
||||
|
||||
expect(resultData).toEqual(testData.output.nodeData[nodeName]);
|
||||
|
||||
Reference in New Issue
Block a user