Remove last call to getDOMNode in tests

This commit is contained in:
Cheng Lou
2015-04-02 17:26:19 -04:00
parent dea7efbe16
commit f3e6436bee
@@ -597,7 +597,7 @@ describe('ReactDOMComponent', function() {
expect(
ReactBrowserEventEmitter.getListener(rootNodeID, 'onClick')
).toBe(callback);
expect(rootNode).toBe(instance.getDOMNode());
expect(rootNode).toBe(React.findDOMNode(instance));
React.unmountComponentAtNode(container);