Browse Source

Revert "Fix createNodeMock doc to avoid Invariant Violation" (#8990)

main
Dan Abramov 8 years ago
committed by GitHub
parent
commit
9f21322236
  1. 1
      _posts/2016-11-16-react-v15.4.0.md

1
_posts/2016-11-16-react-v15.4.0.md

@ -75,7 +75,6 @@ import renderer from 'react-test-renderer';
function createNodeMock(element) {
if (element.type === 'input') {
return {
nodeType: 1,
focus() {},
};
}

Loading…
Cancel
Save