title: How to ignore all failure cases for promises with Istanbul
body: <p>I'm using <a href="https://github.com/kriskowal/q" rel="nofollow">Q</a> for promises in NodeJS along with Istanbul for code coverage. Is there a way to ignore all failure cases. Most of mine are catch-alls in case something unexpected happens I can't replicate in my tests.</p>
  
  <p>For example:</p>
  
  <pre><code>somePromise
  .then(function() {
    console.log('yay!');
  }, function(err) {
    /* istanbul ignore next */ 
    console.error(err);
  });
  </code></pre>
  
  <p>Seems a bit laborious to have to add that comment to every failure condition in my code...</p>