Remove last call to getDOMNode in tests

This commit is contained in:
Cheng Lou committed 2015-04-02 17:26:19 -04:00
1 parent dea7efbe16
commit f3e6436bee
1 file changed
+1 -1
@@ -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);