visionmedia/mocha — Issue #66: Pending test cases throw an exception in the browser runner
Author: aron
Created: 2011-11-22 21:46:39+00:00
State: open

The following example from the documentation throws an exception:

```javascript
describe('Array', function(){
describe('#indexOf()', function(){
it('should return -1 when the value is not present')
})
})
```

Exception thrown:

Uncaught TypeError: Cannot read property 'stack' of undefined in mocha.js:815

See example: http://jsfiddle.net/vxGgv/embedded/result/

Tested in Firefox 7.0.1, Safari 5.1.1 & latest Chrome beta.