mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(core): Fix missing successful items on continueErrorOutput with multiple outputs (#10218)
This commit is contained in:
@@ -120,7 +120,10 @@ describe('WorkflowExecute', () => {
|
||||
if (nodeData.data === undefined) {
|
||||
return null;
|
||||
}
|
||||
return nodeData.data.main[0]!.map((entry) => entry.json);
|
||||
const toMap = testData.output.testAllOutputs
|
||||
? nodeData.data.main
|
||||
: [nodeData.data.main[0]!];
|
||||
return toMap.map((data) => data!.map((entry) => entry.json));
|
||||
});
|
||||
|
||||
// expect(resultData).toEqual(testData.output.nodeData[nodeName]);
|
||||
|
||||
Reference in New Issue
Block a user