It appears that the HTML reporter in 2.4.x crashes when an error is thrown in a beforeEach hook. This may effect other hooks (afterEach, before, after) as well. If I swap mocha out for version 2.3.x, everything works as expected.
For a repro, please see this SAP test repo. Clone, start up your favorite http server (e.g. http-server), and hit index.html from your browser.
Chrome 48
Node 4.2.2
NPM 3.3.12
This was fixed in #2115 but was not published :sob:
Merged PR, closing issue
Thank you!
Most helpful comment
This was fixed in #2115 but was not published :sob: