Fixes #289, see: https://github.com/metaskills/mocha-phantomjs/pull/30 https://github.com/visionmedia/mocha/pull/691