Skip to content

Commit

Permalink
fix fail
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Apr 10, 2019
1 parent 2bb800c commit 30b70e1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion packages/material-ui/src/ExpansionPanel/ExpansionPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ const ExpansionPanel = React.forwardRef(function ExpansionPanel(props, ref) {
},
className,
)}

ref={ref}
square={square}
{...other}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ describe('<ExpansionPanel />', () => {
const wrapper = mount(<ExpansionPanel>{minimalChildren}</ExpansionPanel>);
const root = wrapper.find(`.${classes.root}`).first();
assert.strictEqual(root.type(), Paper);
assert.strictEqual(root.props().elevation, 1);
assert.strictEqual(root.props().square, false);
wrapper.setProps({ expanded: true });
assert.strictEqual(root.hasClass(classes.expanded), false, 'uncontrolled');
Expand Down

0 comments on commit 30b70e1

Please sign in to comment.