We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f90174 commit 84f1372Copy full SHA for 84f1372
test/components/connect.spec.js
@@ -1276,7 +1276,7 @@ describe('React', () => {
1276
1277
// setState calls DOM handlers are batched
1278
const container = TestUtils.findRenderedComponentWithType(tree, Container);
1279
- const node = React.findDOMNode(container.getWrappedInstance().refs.button);
+ const node = ReactDOM.findDOMNode(container.getWrappedInstance().refs.button);
1280
TestUtils.Simulate.click(node);
1281
expect(childMapStateInvokes).toBe(4);
1282
0 commit comments