mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Remove last call to getDOMNode in tests
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user