Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pending test cases throw an exception in the browser runner #66

Closed
aron opened this issue Nov 22, 2011 · 0 comments
Closed

Pending test cases throw an exception in the browser runner #66

aron opened this issue Nov 22, 2011 · 0 comments

Comments

@aron
Copy link

aron commented Nov 22, 2011

The following example from the documentation throws an exception:

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.

@tj tj closed this as completed in 73b8b0e Nov 22, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants