visionmedia/mocha — Issue #114: Html Reporter throws stacktrace immediately on execution
Author: AutomatedTester
Created: 2011-12-04 10:02:05+00:00
State: open

When I try `mocha tests/* --globals name --reporter html` i get

```
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
ReferenceError: $ is not defined
at new HTML (/usr/local/lib/node_modules/mocha/lib/reporters/html.js:40:14)
at run (/usr/local/lib/node_modules/mocha/bin/mocha:176:18)
at /usr/local/lib/node_modules/mocha/bin/mocha:168:16
at Array.forEach (native)
at Object. (/usr/local/lib/node_modules/mocha/bin/mocha:163:7)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)
at Module.load (module.js:351:31)
at Function._load (module.js:310:12)
at Array.0 (module.js:470:10)
at EventEmitter._tickCallback (node.js:192:40)```