Skip to content

Commit

Permalink
Remove an unnecessary call to findDOMNode in the select optgroup test.
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorsmith committed Apr 7, 2016
1 parent 8577600 commit f7181e0
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -548,8 +548,7 @@ describe('ReactDOMSelect', function() {
</optgroup>
</select>;
var container = document.createElement('div');
stub = ReactDOM.render(stub, container);
var node = ReactDOM.findDOMNode(stub);
var node = ReactDOM.render(stub, container);

expect(node.options[0].selected).toBe(false); // a
expect(node.options[1].selected).toBe(true); // b
Expand Down

0 comments on commit f7181e0

Please sign in to comment.