fix(csv to json): e2e test

This commit is contained in:
ShareVB committed 2024-12-15 23:11:08 +01:00
1 parent 62802ff83d
commit fb80d8a12b
1 file changed
+14 -2
+14 -2
View File
@@ -20,8 +20,20 @@ Age,Salary,Gender,Country,Purchased
expect(generatedJson.trim()).toEqual(` expect(generatedJson.trim()).toEqual(`
[ [
{"Age": "18", "Salary": "20000", "Gender": "Male", "Country": "Germany", "Purchased": "N"}, {
{"Age": "19", "Salary": "22000", "Gender": "Female", "Country": "France", "Purchased": "N"} "Age": "18",
"Salary": "20000",
"Gender": "Male",
"Country": "Germany",
"Purchased": "N"
},
{
"Age": "19",
"Salary": "22000",
"Gender": "Female",
"Country": "France",
"Purchased": "N"
}
] ]
`.trim(), `.trim(),
); );