mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
test(Spreadsheet File Node): Unit tests (no-changelog) (#5385)
* ⚡️test setup * ⚡️fix 'testData' implicitly has an 'any' type. * ✅ test github action file binary data reading * ✅ checking for output binary equality * ✅ writing files to different formats * ✅ reading spreadsheet with different options * ⚡️improve workflow file path replacement * 🐛 fixing string.at() not supported in node 14. * 🐛 trying to fix github action test error * ⚡ fix for empty binary * ⚡ switch for binary test * ⚡️test helpers now return/compare json and binary (if not empty)) * ⚡ removed commented console log --------- Co-authored-by: Michael Kret <michael.k@radency.com>
This commit is contained in:
@@ -34,7 +34,7 @@ describe('Execute Airtable Node', () => {
|
||||
},
|
||||
output: {
|
||||
nodeData: {
|
||||
Airtable: [[...records]],
|
||||
Airtable: [[...records.map((r) => ({ json: r }))]],
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user