@samitouri / QOS-React / commits / 00092957b6

Fix createNodeMock doc to avoid Invariant Violation (#8989)

BDav24 committed Feb 13, 2017 at 21:13 UTC 00092957b659061482c61c9a41454ea27b467c5e
1 file changed +1
docs/_posts/2016-11-16-react-v15.4.0.md
+1
@@ -75,6 +75,7 @@ import renderer from 'react-test-renderer';
75 function createNodeMock(element) {
76 if (element.type === 'input') {
77 return {
78 + nodeType: 1,
79 focus() {},
80 };
81 }