Skip to content

Commit

Permalink
Prettify test file
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielliwerant committed Aug 1, 2019
1 parent 6ca63de commit 606c1fc
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/MUIDataTable.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,7 @@ describe('<MUIDataTable />', function() {
it('should update selectedRows when using rowsSelected option with type=multiple', () => {
const options = {
selectableRows: 'multiple',
rowsSelected: [0, 3]
rowsSelected: [0, 3],
};
const shallowWrapper = shallow(<MUIDataTable columns={columns} data={data} options={options} />).dive();
const instance = shallowWrapper.instance();
Expand All @@ -817,7 +817,11 @@ describe('<MUIDataTable />', function() {
const options = {
expandableRows: true,
rowsExpanded: [0, 3],
renderExpandableRow: () => <tr><td>opened</td></tr>
renderExpandableRow: () => (
<tr>
<td>opened</td>
</tr>
),
};
const shallowWrapper = shallow(<MUIDataTable columns={columns} data={data} options={options} />).dive();
const instance = shallowWrapper.instance();
Expand Down

0 comments on commit 606c1fc

Please sign in to comment.