-
Notifications
You must be signed in to change notification settings - Fork 309
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
Unable to run tests in es6 branch #538
Comments
After installed https://babeljs.io/docs/plugins/transform-es2015-modules-umd/ plugin parsers.js is converted to umd Running |
When i installed http://babeljs.io/docs/plugins/preset-es2015/ it worked Now, i realized what was going on: the build step was using babel through babel-loader that uses babel 4, while the test script does not uses webpack (tries to use babel directly) when i did npm intall bable-cli it installed babel 6 that needs a bunch of different configuration It's "fixed" in my side but i think it needs some tweaking to lower the entry barrier. If will upgrade babel to v6 or stick to v4 is another matter |
Hit the same issue, have fixed and submitted a PR. Feel free to test! |
Checked master, npm install, run build and test: everything fine
When i checked es6 branch i got a couple of errors:
No babel -> installed locally or global (same effect)
No mocha-phantomjs -> installed global
npm run build > bundled version created fine
npm test -> got the following error:
I checked spec/lib/parsers.js and is using es6 syntax, instead of umd
Using node 4.2 under windows
The text was updated successfully, but these errors were encountered: