Doesn't handle expect('str a').to.equal('str b') failure.

Rolands-MacBook-Air:mocha-phantomjs rolandpoulter$ npm test

> mocha-phantomjs@1.1.0 test /Users/rolandpoulter/github/roland/mocha-phantomjs
> cake test



  mocha-phantomjs
    ✓ returns a failure code and shows usage when no args are given 
    ✓ returns a failure code and notifies of bad url when given one 
    ✓ returns a failure code and notifies of no such runner class 
    ✓ returns a failure code when mocha can not be found on the page 
    ✓ returns a failure code when mocha fails to start for any reason 
    ✓ returns a failure code when mocha is not started in a timely manner 
    spec
      passing
        ✓ returns a passing code 
        ✓ writes all output in color 
      failing
        1) returns a failing code equal to the number of mocha failures
        2) writes all output in color
      requirejs
        ✓ returns a passing code 
        ✓ writes all output in color 
    dot
      ✓ uses dot reporter 
      ✓ wraps lines correctly and has only one double space for the last dot 
    tap
      ✓ basically works 
    list
      ✓ basically works 
    doc
      ✓ basically works 
    xunit
      ✓ basically works 
    config
      user-agent
        ✓ it has the default user agent 
        ✓ it has a custom user agent 
        ✓ it has a custom user agent via setting flag 
      cookies
        ✓ it has passed cookies 
      viewport
        ✓ it has passed cookies 


  ✖ 2 of 23 tests failed:

  1) mocha-phantomjs spec failing returns a failing code equal to the number of mocha failures:
     expected 4 to equal 3
  

  2) mocha-phantomjs spec failing writes all output in color:
     expected '\n\u001b[0m\u001b[0m\n\u001b[0m  Tests Failing\u001b[0m\n  \u001b[90m  ◦ passes 1: \u001b[0m\n\u001b[A\u001b[2K  \u001b[32m  ✓\u001b[0m\u001b[90m passes 1 \u001b[0m\n  \u001b[90m  ◦ passes 2: \u001b[0m\n\u001b[A\u001b[2K  \u001b[32m  ✓\u001b[0m\u001b[90m passes 2 \u001b[0m\n  \u001b[90m  ◦ passes 3: \u001b[0m\n\u001b[A\u001b[2K  \u001b[32m  ✓\u001b[0m\u001b[90m passes 3 \u001b[0m\n  \u001b[90m  ◦ fails 1: \u001b[0m\n\u001b[A\u001b[2K  \u001b[31m  1) fails 1\u001b[0m\n  \u001b[90m  ◦ fails 2: \u001b[0m\n\u001b[A\u001b[2K  \u001b[31m  2) fails 2\u001b[0m\n  \u001b[90m  ◦ fails 3: \u001b[0m\n\u001b[A\u001b[2K  \u001b[31m  3) fails 3\u001b[0m\n  \u001b[90m  ◦ fails 4: \u001b[0m\n\u001b[A\u001b[2K  \u001b[31m  4) fails 4\u001b[0m\n\n\n\u001b[91m  ✖\u001b[0m\u001b[31m 4 of 7 tests failed\u001b[0m\u001b[90m:\u001b[0m\n\n\u001b[0m  1) Tests Failing fails 1:\n\u001b[0m\u001b[31m     expected false to be true\u001b[0m\u001b[90m\n      at file:///Users/rolandpoulter/github/roland/mocha-phantomjs/node_modules/chai/chai.js:241\n      at file:///Users/rolandpoulter/github/roland/mocha-phantomjs/node_modules/chai/chai.js:487\n      at file:///Users/rolandpoulter/github/roland/mocha-phantomjs/node_modules/chai/chai.js:2570\n\u001b[0m\n\u001b[0m  2) Tests Failing fails 2:\n\u001b[0m\u001b[31m     expected false to be true\u001b[0m\u001b[90m\n      at file:///Users/rolandpoulter/github/roland/mocha-phantomjs/node_modules/chai/chai.js:241\n      at file:///Users/rolandpoulter/github/roland/mocha-phantomjs/node_modules/chai/chai.js:487\n      at file:///Users/rolandpoulter/github/roland/mocha-phantomjs/node_modules/chai/chai.js:2570\n\u001b[0m\n\u001b[0m  3) Tests Failing fails 3:\n\u001b[0m\u001b[31m     expected false to be true\u001b[0m\u001b[90m\n      at file:///Users/rolandpoulter/github/roland/mocha-phantomjs/node_modules/chai/chai.js:241\n      at file:///Users/rolandpoulter/github/roland/mocha-phantomjs/node_modules/chai/chai.js:487\n      at file:///Users/rolandpoulter/github/roland/mocha-phantomjs/node_modules/chai/chai.js:2570\n\u001b[0m\n\u001b[0m  4) Tests Failing fails 4:\n\u001b[0m\u001b[31m     expected \'some string\' to equal \'another string\'\u001b[0m\u001b[90m\n      at file:///Users/rolandpoulter/github/roland/mocha-phantomjs/node_modules/chai/chai.js:241\n      at assertEqual (file:///Users/rolandpoulter/github/roland/mocha-phantomjs/node_modules/chai/chai.js:667)\n      at file:///Users/rolandpoulter/github/roland/mocha-phantomjs/node_modules/chai/chai.js:2528\n      at file:///Users/rolandpoulter/github/roland/mocha-phantomjs/test/lib/failing.js:27\n      at file:///Users/rolandpoulter/github/roland/mocha-phantomjs/node_modules/mocha/mocha.js:3716\n      at file:///Users/rolandpoulter/github/roland/mocha-phantomjs/node_modules/mocha/mocha.js:4071\n      at file:///Users/rolandpoulter/github/roland/mocha-phantomjs/node_modules/mocha/mocha.js:4130\n      at next (file:///Users/rolandpoulter/github/roland/mocha-phantomjs/node_modules/mocha/mocha.js:3997)\n      at file:///Users/rolandpoulter/github/roland/mocha-phantomjs/node_modules/mocha/mocha.js:4006\n      at next (file:///Users/rolandpoulter/github/roland/mocha-phantomjs/node_modules/mocha/mocha.js:3954)\n      at file:///Users/rolandpoulter/github/roland/mocha-phantomjs/node_modules/mocha/mocha.js:3974\n      at file:///Users/rolandpoulter/github/roland/mocha-phantomjs/node_modules/mocha/mocha.js:4918\n\u001b[0m\n\n' to match /\u001b\[91m\s\s✖\u001b\[0m\u001b\[31m\s3\sof\s6\stests\sfailed/
  


npm ERR! Test failed.  See above for more details.
npm ERR! not ok code 0