mirror of
https://github.com/hanzoai/react.git
synced 2026-09-24 17:02:27 +00:00
Merge pull request #3576 from chenglou/last-getdomnode
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