Javascript – how to append comma inbetween json file in cypress
my write file : cy.writeFile("cypress/fixtures/xlsxData.json", Newdata , { flag: 'a+' }) Newdata - let Newdata = { FirstName:F_jsonData[i][0], MiddleName:F_jsonData[i][1], LastName:F_jsonData[i][2] } and xlsxdata.json will be: [ { "FirstName": "ABC", "MiddleName": "K", "LastName": "edf" }{ "FirstName": "sss", "MiddleName": "g", "LastName": "efg"…