fail-on-react-warn1.0.0 • Public • Published
Tired of React warnings slipping into your code base unnoticed?
npm install --save-dev fail-on-react-warn
;; // In your test setup somewhere.
Now any test that causes a React warning to be logged to the console will fail.
npm i fail-on-react-warn