fix(Spreadsheet File Node): Fix include empty cells not working with v2 (#7505)

Github issue / Community forum post (link here to close automatically):
Ticket#763644
This commit is contained in:
Jon
2023-10-24 14:22:45 +01:00
committed by GitHub
parent 8ff9f97493
commit 05e6f2a6ac
4 changed files with 109 additions and 0 deletions

View File

@@ -166,6 +166,18 @@ describe('Execute Spreadsheet File Node', () => {
},
},
},
{
description: 'execute includeempty.json',
input: {
workflowData: loadWorkflow('workflow.empty.json', 'includeempty.csv'),
},
output: {
nodeData: {
'Include Empty': [[{ json: { A: '1', B: '', C: '3' } }]],
'Ignore Empty': [[{ json: { A: '1', C: '3' } }]],
},
},
},
];
const nodeTypes = Helpers.setup(tests);