dillon1000/react

Commit

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
Browse files
Changed paths1 file
First-parent comparison
M src/dom/components/__tests__/ReactDOMInput-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…