fix(core): update
This commit is contained in:
@ -1,3 +1,3 @@
|
||||
Header 1;Header 2; Header3
|
||||
row1data1; row1data2; row1data3
|
||||
row2data1; row2data2; row2data3
|
||||
Header 1;Header 2;"Header 3"
|
||||
"row1data1";"row1data2";"row1data3"
|
||||
"row2data1";row2data2;"row2data3"
|
||||
|
|
@ -13,7 +13,7 @@ tap.test('should read a file', async tools => {
|
||||
});
|
||||
|
||||
tap.test('should create a valid csv', async () => {
|
||||
testCsv = await smartcsv.Csv.createCsvFromString(fileString, { headers: true });
|
||||
testCsv = await smartcsv.Csv.createCsvFromString(fileString, { headers: true, unquote: true });
|
||||
const result = await testCsv.exportAsObject();
|
||||
console.log(result);
|
||||
});
|
||||
|
Reference in New Issue
Block a user