facebook/react — pull request #801 by cpojer (2014-01-04 02:00:06+00:00)
Title: Silence console.error in ReactDOMInput-test, fixes #531

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.