From 9f21322236cdee9d9a207790ec02446c61c9afba Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Mon, 13 Feb 2017 20:15:49 +0000 Subject: [PATCH] Revert "Fix createNodeMock doc to avoid Invariant Violation" (#8990) --- _posts/2016-11-16-react-v15.4.0.md | 1 - 1 file changed, 1 deletion(-) diff --git a/_posts/2016-11-16-react-v15.4.0.md b/_posts/2016-11-16-react-v15.4.0.md index ee34c695..d07691a0 100644 --- a/_posts/2016-11-16-react-v15.4.0.md +++ b/_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() {}, }; }