Skip to content

Commit

Permalink
Fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
Bunlong committed Oct 13, 2023
1 parent 568da82 commit 341c8c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/jsonToCSV.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { jsonToCSV } from '../src/jsonToCSV';
describe('jsonToCSV', () => {
// eslint-disable-next-line no-undef
it('should return a csv format as expected', function () {
const fixtures = `[
const fixtures = [
{
"Column 1": "1-1",
"Column 2": "1-2",
Expand All @@ -30,7 +30,7 @@ describe('jsonToCSV', () => {
"Column 3": 6,
"Column 4": 7
}
]`;
];
const expected = `Column 1,Column 2,Column 3,Column 4
1-1,1-2,1-3,1-4
2-1,2-2,2-3,2-4
Expand Down

0 comments on commit 341c8c0

Please sign in to comment.