mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-20 21:23:08 +03:00
fix(csv to json): e2e test
This commit is contained in:
1 parent
62802ff83d
commit
fb80d8a12b
1 file changed
+14
-2
@@ -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(),
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in new issue
Block a user