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
getting Script Error in html reporter. #4
Comments
Sorry it's giving your trouble... I have a few thoughts:
And lastly. If all else fails, try the same tests using the Let me know how it goes. If you have further trouble, please also include your browser and version so I can attempt to reproduce. Thanks, and good luck. |
I'm still getting "Script error" though :/.
"dependencies": {
"socket.io-client": "0.8.7",
"uglify-js": "1.1.0",
"chai": "0.1.3",
"mocha": "0.7.0"
} My runner.html and specs.js are looking like https://gist.github.com/1498083 now. |
I have been able to duplicate this, however I don't think it is a problem with chai... I think it is mocha. Here is why... I took chai completely out of the equation: https://gist.github.com/1498455 The async error will throw the "Script Error" in the console as well, even when not using swarm or chai. I suggest opening an issue with mocha, and your welcome to reference this thread and gists as use case. |
oh weird wtf yeah i can reproduce this now. not sure when this was introduced, i'll fix it |
Thanks... See: mochajs/mocha#165 |
I might be doing something wrong. But I'm getting a "Script error" when my assertions fail.
Here are my specs
https://gist.github.com/1497704
I'm getting the following error in the development console:
The text was updated successfully, but these errors were encountered: