console-warn-throws-error
v1.1.0
Published
#### What?
Downloads
4
Readme
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