Skip to content

Commit

Permalink
Add column header name to the test assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
arminmeh committed Aug 13, 2024
1 parent 657fa6c commit d03e601
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/x-data-grid/src/tests/export.DataGrid.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ describe('<DataGrid /> - Export', () => {
expect(spyCreateObjectURL.callCount).to.equal(1);
const csv = await spyCreateObjectURL.lastCall.firstArg.text();

expect(csv).to.equal(['Name', '', '', '1234'].join('\r\n'));
expect(csv).to.equal(['name', 'Name', '', '', '1234'].join('\r\n'));
});
});

Expand Down

0 comments on commit d03e601

Please sign in to comment.