mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-13 19:33:46 +00:00
fix csv export (#466)
* style: cleanup formatting * fix: prevent issues with csv export * chore: update test snapshots
This commit is contained in:
@@ -84,7 +84,7 @@ describe('make CSV()', () => {
|
||||
it('joins an array of arrays with commas and newlines', () => {
|
||||
const testdata = [['field'], ['after newline', 'after comma'], ['', 'after empty']];
|
||||
expect(makeCSV(testdata)).toMatchInlineSnapshot(`
|
||||
"data:text/csv;charset=utf-8,field
|
||||
"field
|
||||
after newline,after comma
|
||||
,after empty
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user