title: What does 'pending' test mean in Mocha, and how can I make it pass/fail?
body: <p>I am running my tests and noticed:</p>
  
  <pre><code>18 passing (150ms)
  1 pending
  </code></pre>
  
  <p>I haven't seen this before. Previously test either passed, or failed. Timeouts caused failures. I can see which test is failing because it's also blue. But it has a timeout on it. Here's a simplified version:</p>
  
  <pre><code>test(`Errors when bad thing happens`), function(){
    try {
      var actual = doThing(option)        
    } catch (err) {
      assert(err.message.includes('invalid'))
    }
    throw new Error(`Expected an error and didn't get one!`)
  }
  </code></pre>
  
  <ul>
  <li>What does 'pending' mean? <strong>How could a test be 'pending' when Mocha has exited and node is no longer running?</strong></li>
  <li>Why is this test not timing out?</li>
  <li>How can I make the test pass or fail?</li>
  </ul>
  
  <p>Thanks!</p>