Skip to content

Commit

Permalink
fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
cherniavskii committed Jan 26, 2022
1 parent 735192b commit f589472
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,7 @@ describe('<DataGridPro /> - Clipboard', () => {
fireEvent.click(cell);
fireEvent.keyDown(cell, { key: 'c', keyCode: 67, altKey: true });
expect(writeText.callCount).to.equal(1, "writeText wasn't called");
expect(writeText.firstCall.args[0]).to.equal(
['id\tBrand', '0\tNike', '1\tAdidas'].join('\r\n'),
);
expect(writeText.firstCall.args[0]).to.equal(['id\tBrand', '0\tNike'].join('\r\n'));
});
});
});

0 comments on commit f589472

Please sign in to comment.