1.1.0 • Published 8 years ago
console-warn-throws-error v1.1.0
console-warn-throws-error
What?
Patches console.warn
to throw.
Why?
I want React PropType warnings to cause my tests to fail.
How?
npm install console-warn-throws-error --save-dev
mocha --require console-warn-throws-error