dillon1000/react
Commit
Browse files Silence console.error in ReactDOMInput-test
This test is expected to throw but because of ReactErrorUtils.guard which uses console.error in __DEV__ it also logged the invariant error to the console. This change fixes it by temporarily stubbing out console.error. Fixes #531
Changed paths1 file
First-parent comparisonsrc/dom/components/__tests__/ReactDOMInput-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…