Skip to content

Commit 341c8c0

Browse files
committedOct 13, 2023
Fix type
1 parent 568da82 commit 341c8c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎test/jsonToCSV.spec.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { jsonToCSV } from '../src/jsonToCSV';
55
describe('jsonToCSV', () => {
66
// eslint-disable-next-line no-undef
77
it('should return a csv format as expected', function () {
8-
const fixtures = `[
8+
const fixtures = [
99
{
1010
"Column 1": "1-1",
1111
"Column 2": "1-2",
@@ -30,7 +30,7 @@ describe('jsonToCSV', () => {
3030
"Column 3": 6,
3131
"Column 4": 7
3232
}
33-
]`;
33+
];
3434
const expected = `Column 1,Column 2,Column 3,Column 4
3535
1-1,1-2,1-3,1-4
3636
2-1,2-2,2-3,2-4

0 commit comments

Comments
 (0)