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:
Marcus
2023-02-09 09:00:29 +01:00
committed by GitHub
parent 94f2b2a26f
commit 74fc1414d7
5 changed files with 449 additions and 5 deletions

View File

@@ -34,7 +34,7 @@ describe('Execute Airtable Node', () => {
},
output: {
nodeData: {
Airtable: [[...records]],
Airtable: [[...records.map((r) => ({ json: r }))]],
},
},
},