Remove last call to `getDOMNode` in tests
Cheng Lou committed
Apr 2, 2015 at 17:26 UTC
f3e6436bee20fde003fc5e36b6295c63d371c3d7
1 file changed
+1
-1
src/browser/ui/__tests__/ReactDOMComponent-test.js
+1
-1
@@ -597,7 +597,7 @@ describe('ReactDOMComponent', function() {
597
expect(
598
ReactBrowserEventEmitter.getListener(rootNodeID, 'onClick')
599
).toBe(callback);
600
- expect(rootNode).toBe(instance.getDOMNode());
600
+ expect(rootNode).toBe(React.findDOMNode(instance));
601
602
React.unmountComponentAtNode(container);
603