-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
"Maximum call stack size exceeded" from espurify #274
Comments
@MoOx Thank you for reporting and reproduction case. Currently, power-assert only supports standard AST Nodes defined in The ESTree Spec. I'll fix this when AVA gets Babel 6 ready. |
So why the first example is working? (Reminder I use babel 5.8 for the moment since lots of things are not working/ready for 6) |
In the first example, JSX element is on the outside of assertion argument expression (in this case, arguments of In the second example, JSX element is on the inside of assertion argument expression, so power-assert tried to infer more information, and something wrong has occurred. |
Closing since this is not an AVA issue, but a power-assert one. I opened power-assert-js/power-assert#34 to track this issue there. |
Now I'm working with it. |
This test is ok
But this one create an issue
Error
Some infos:
❯ node --version
v5.0.0
❯ npm --version
3.5.1
babel 5.8.x
The text was updated successfully, but these errors were encountered: