Skip to content

Commit 3d25092

Browse files
committed
render update
1 parent 85de523 commit 3d25092

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/material-ui-lab/src/TabPanel/TabPanel.test.tsx

+1-4
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,7 @@ describe('<TabPanel />', () => {
1212
describeConformanceV5(<TabPanel value="0" />, () => ({
1313
classes,
1414
inheritComponent: 'div',
15-
render: (node: any) => {
16-
const { container, ...other } = render(<TabContext value="0">{node}</TabContext>);
17-
return { container: container.firstChild.firstChild, ...other };
18-
},
15+
render: (node: any) => render(<TabContext value="0">{node}</TabContext>),
1916
mount: (node: any) => mount(<TabContext value="0">{node}</TabContext>),
2017
refInstanceof: window.HTMLDivElement,
2118
muiName: 'MuiTabPanel',

0 commit comments

Comments
 (0)