-
Notifications
You must be signed in to change notification settings - Fork 2k
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
compiling "throw" leads to unexpected behavior with mocha testing #2314
Comments
|
could you please give an example? |
|
cool, thank you! |
For those interested in the technical details behind this: In the ECMAScript spec (section 7.6 of ES5; the end of 5.1.5 in ES3), an |
I'm having trouble testing an error message with mocha, should and coffeescript.
Why is the following statement compiled the way it is?
compiles into
I thought it should be
The text was updated successfully, but these errors were encountered: