1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-07 04:20:05 +00:00

test(generateFileUploadForm): add unit test

This commit is contained in:
Yury Shkoda
2022-02-17 13:34:13 +03:00
parent d3dff44918
commit 9b239abda0
3 changed files with 46 additions and 2 deletions

View File

@@ -3,7 +3,7 @@
* @param data - the array of JSON objects to convert.
*/
export const convertToCSV = (
data: Array<any>,
data: any[],
sasFormats?: { formats: { [key: string]: string } }
) => {
let formats = sasFormats?.formats