Skip to content

Commit

Permalink
update render for TableCell test waiting on #24679
Browse files Browse the repository at this point in the history
  • Loading branch information
natac13 committed Jan 28, 2021
1 parent f1eb70b commit 29f46e1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/material-ui/src/TableCell/TableCell.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ describe('<TableCell />', () => {
);
return wrapper.find('tr').childAt(0);
},
render: (node) => {
const { container, ...rest } = render(<table>{node}</table>);
return { container: container.firstChild, ...rest };
},
muiName: 'MuiTableCell',
testVariantProps: { variant: 'body' },
refInstanceof: window.HTMLTableCellElement,
Expand Down

0 comments on commit 29f46e1

Please sign in to comment.