-
Notifications
You must be signed in to change notification settings - Fork 142
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
ECMA 6 not supported #618
Comments
Chutzpah is bound by the version of PhanomJs it uses (http://phantomjs.org/download.html). This will be resolved when version 2.5 comes out but I do not know when they plan to release. |
Thank you. I'll use babel to transpile the ecma 6 code to ecma 5.1. You can close the ticket. |
i installed babel-cli but still i am getting error while inserting es6 syntax. Can you please share any config file or repo so that i can follow? |
Saroj,
Chutzpah does not support ES6, so there is no config or anything that the
community can provide you.
The only thing that you have to do is to make sure is that your code is
actually ES5 before calling Chutzpah.
Something that may help in this case is to run Chutzpah in the browser (
like google chrome) that supports ES6 and see if it actually works.
I had your same issues, and the above steps helped me understand the real
issues.
Regards
Simone
…On Mon, Oct 16, 2017 at 1:54 PM, saroj08 ***@***.***> wrote:
i installed babel-cli but still i am getting error while inserting es6
syntax. Can you please share any config file or repo so that i can follow?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#618 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AInzguQfM6u2hrRYdiMhPUH8BQoxpPU8ks5ss1HpgaJpZM4Mj0ox>
.
|
Thanks Zelig |
@saroj08 @Zelig880 @ILoveITScience In the latest release I added support for running Chutzpah using node with JsDom or Chrome. This is early integration but will work for many. Learn more here |
Hello,
I have the following test:
It's not recognized by Chutzpah in the test explorer. If I change the word "let" into "var" it's recognized and displayed in the Visual Studio Test-Explorer. It seems like ECMA 2015 is not supported, is it?
The text was updated successfully, but these errors were encountered: