title: How to make ng test to fail on warnings
body: <p>I've just finished fixing several warnings on my unit/component tests of my Angular app, that run using <code>ng test</code> (with Karma/Jasmine).</p>
  
  <p>This process can be quite time-consuming as it is not always obvious to spot which test case(s) is actually causing the warning(s).</p>
  
  <p>So now that I don't have any more warnings, I'm wondering if there is a way to make <code>ng test</code> to automatically fail whenever there are any warnings.</p>