Skip to content

Commit

Permalink
Update EuiSuperSelect unit tests to open the options before snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
chandlerprall committed Aug 14, 2018
1 parent 249fa1a commit 648f2a0
Show file tree
Hide file tree
Showing 5 changed files with 816 additions and 23 deletions.
6 changes: 1 addition & 5 deletions src-docs/src/views/super_select/super_select_complex.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,11 @@ export default class extends Component {

this.state = {
value: this.options[1].value,
inputDisplay: this.options[1].inputDisplay,
};
}

onChange = (value) => {
this.setState({
value: value,
inputDisplay: this.options.inputDisplay,
});
this.setState({ value });
};

render() {
Expand Down
Loading

0 comments on commit 648f2a0

Please sign in to comment.