visionmedia/mocha — pull request #346 by adomokos (2012-03-24 15:13:45+00:00)
Title: Fixing the browser based tests - '__dirname' was undefined

I tried running the browser based tests for mocha and received this error:

```
Uncaught ReferenceError: __dirname is not defined
```

on line 894 in mocha.js

```javascript
var images = {
fail: __dirname + '/../images/error.png'
```

This pull request should fix all browser based tests.